Skip to content

Commit

Permalink
Add static binary for stack2nix
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Jun 28, 2017
1 parent cc63c5d commit 8de4530
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 { };
Expand Down

0 comments on commit 8de4530

Please sign in to comment.