Skip to content

Commit 557bebc

Browse files
committed
Fix for ghcjs default setup
1 parent 0c6f255 commit 557bebc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

overlays/default-setup.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
# to compute the same derivation multiple times.
77
final: prev:
88
let
9-
nonReinstallablePkgs = ["base" "Cabal"];
9+
nonReinstallablePkgs =
10+
if final.stdenv.targetPlatform.isGhcjs
11+
then ["base" "Cabal" "filepath" "directory"]
12+
else ["base" "Cabal"];
1013
haskellLib = final.haskell-nix.haskellLib;
1114
defaultSetupSrc =
1215
if final.stdenv.targetPlatform.isGhcjs

0 commit comments

Comments
 (0)