3
0
Fork 0
forked from mirrors/nixpkgs

Statically link dhall-* executables

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
This commit is contained in:
Gabriel Gonzalez 2017-09-03 21:44:01 -07:00 committed by Profpatsch
parent ffa631dd39
commit fd2c8d0a00

View file

@ -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;
@ -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)