Skip to content

Commit

Permalink
Statically link dhall-* executables
Browse files Browse the repository at this point in the history
This change statically links the `dhall-*` family of executables so that
they start up more quickly on NixOS.  This also updates the `dhallToNix`
utility to use the statically linked `dhall-to-nix` executable
  • Loading branch information
Gabriella439 authored and Profpatsch committed Sep 5, 2017
1 parent ffa631d commit fd2c8d0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ with pkgs;
cmark = callPackage ../development/libraries/cmark { };

dhallToNix = callPackage ../build-support/dhall-to-nix.nix {
inherit (haskellPackages) dhall-nix;
inherit dhall-nix;
};

diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
Expand Down Expand Up @@ -6212,6 +6212,16 @@ with pkgs;

clooj = callPackage ../development/interpreters/clojure/clooj.nix { };

dhall = haskell.lib.justStaticExecutables haskellPackages.dhall;

dhall-nix = haskell.lib.justStaticExecutables haskellPackages.dhall-nix;

dhall-bash = haskell.lib.justStaticExecutables haskellPackages.dhall-bash;

dhall-json = haskell.lib.justStaticExecutables haskellPackages.dhall-json;

dhall-text = haskell.lib.justStaticExecutables haskellPackages.dhall-text;

beam = callPackage ./beam-packages.nix { };

inherit (beam.interpreters)
Expand Down

0 comments on commit fd2c8d0

Please sign in to comment.