Strip ghc from final build

master
sand20 2 months ago
parent 63191180a5
commit e7069228a8
  1. 3
      flake.nix

@ -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;

Loading…
Cancel
Save