Strip ghc from final build

This commit is contained in:
sand20 2022-06-16 22:45:49 +02:00
parent 63191180a5
commit e7069228a8
1 changed files with 2 additions and 1 deletions

View File

@ -28,9 +28,10 @@
builtins.foldl' (checks: ghcVersion:
let
haskellPackages = pkgs.haskell.packages.${ghcVersion};
inherit (pkgs.haskell.lib.compose) justStaticExecutables;
in
checks // {
"${ghcVersion}".yammat = haskellPackages.callPackage ./pkg.nix {};
"${ghcVersion}".yammat = justStaticExecutables(haskellPackages.callPackage ./pkg.nix {});
}
) {} ghcVersions;