Skip to content

Commit

Permalink
Add cabal-install and hpack to closure size check (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored Jun 2, 2020
1 parent a1b3223 commit 2b22ed4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ in rec {
# use)
check-hydra = pkgs.buildPackages.callPackage ./scripts/check-hydra.nix {};
check-closure-size = pkgs.buildPackages.callPackage ./scripts/check-closure-size.nix {
inherit (haskell) nix-tools;
# Includes cabal-install and hpack since these are commonly used.
nix-tools = pkgs.linkFarm "common-tools" [
{ name = "nix-tools"; path = haskell.nix-tools; }
{ name = "cabal-install"; path = haskell.cabal-install; }
{ name = "hpack"; path = haskell.haskellPackages.hpack.components.exes.hpack; }
];
};
};

Expand Down

0 comments on commit 2b22ed4

Please sign in to comment.