We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54b417d + 212e999 commit 9d3347eCopy full SHA for 9d3347e
flake.nix
@@ -23,7 +23,10 @@
23
packageOverrides = final.lib.composeExtensions
24
prev.haskell.packageOverrides
25
(hfinal: hprev: {
26
- ${name} = hfinal.callCabal2nix name ./. { };
+ # Put binaries into separate output "bin" to reduce closure size.
27
+ # https://nixos.org/manual/nixpkgs/stable/#haskell-packaging-helpers
28
+ ${name} = final.haskell.lib.enableSeparateBinOutput
29
+ (hfinal.callCabal2nix name ./. { });
30
});
31
};
32
0 commit comments