Add static binary for stack2nix
This commit is contained in:
parent
cc63c5d32c
commit
8de4530b4a
1 changed files with 8 additions and 0 deletions
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue