Strip ghc from final build
This commit is contained in:
parent
63191180a5
commit
e7069228a8
1 changed files with 2 additions and 1 deletions
|
@ -28,9 +28,10 @@
|
||||||
builtins.foldl' (checks: ghcVersion:
|
builtins.foldl' (checks: ghcVersion:
|
||||||
let
|
let
|
||||||
haskellPackages = pkgs.haskell.packages.${ghcVersion};
|
haskellPackages = pkgs.haskell.packages.${ghcVersion};
|
||||||
|
inherit (pkgs.haskell.lib.compose) justStaticExecutables;
|
||||||
in
|
in
|
||||||
checks // {
|
checks // {
|
||||||
"${ghcVersion}".yammat = haskellPackages.callPackage ./pkg.nix {};
|
"${ghcVersion}".yammat = justStaticExecutables(haskellPackages.callPackage ./pkg.nix {});
|
||||||
}
|
}
|
||||||
) {} ghcVersions;
|
) {} ghcVersions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue