Skip to content

Commit 076782f

Browse files
committed
Avoid building source-pins on hackage (just make sure the components needed are present).
1 parent b825a43 commit 076782f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

overlays/haskell.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,9 @@ final: prev: {
10751075
roots' = compiler-nix-name: ifdLevel:
10761076
final.recurseIntoAttrs ({
10771077
# Things that require no IFD to build
1078-
inherit (final.buildPackages.haskell-nix) source-pins;
1078+
source-pin-hackage = hackageSrc;
1079+
source-pin-stackage = stackageSrc;
1080+
source-pin-haskell-nix = final.path;
10791081
# Double buildPackages is intentional,
10801082
# see comment in lib/default.nix for details.
10811083
# Using buildPackages rather than evalPackages so both darwin and linux

0 commit comments

Comments
 (0)