static-haskell-nix icon indicating copy to clipboard operation
static-haskell-nix copied to clipboard

Override callPackage to statify executables

Open Aver1y opened this issue 4 years ago • 0 comments

This has the advantage of enabling us to just use survey.haskellPackages.callPackage, callCabal2nix and developPackage directly and have them generate static executables.

Note that this depends on NixOS/nixpkgs#90271, so you don't want to merge this right now (hence the draft). So before merging we'd want to wait for that to be merged and update the pinned nixpkgs to some rev after that or backport the patch.

Aver1y avatar Jun 14 '20 01:06 Aver1y