Add static binary for stack2nix

This commit is contained in:
Domen Kožar 2017-06-28 16:21:19 +02:00
parent cc63c5d32c
commit 8de4530b4a
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -771,6 +771,14 @@ with pkgs;
'';
});
stack2nix = with haskell.lib; overrideCabal (justStaticExecutables haskellPackages.stack2nix) (drv: {
executableToolDepends = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/stack2nix \
--prefix PATH ":" "${git}/bin:${cabal2nix}/bin:${cabal-install}/bin"
'';
});
caddy = callPackage ../servers/caddy { };
capstone = callPackage ../development/libraries/capstone { };