Skip to content

Commit 20c660a

Browse files
committed
Add exceptions and stm to nonReinstallablePkgs for ghc901
We did not merge #1183 because we were concerned that it would change the exceptions and stm used for users that did not want to build GHC. However `reinstallableLibGhc = true` is now the default and most projects should not be setting it to `false`. That means this change will now only affect projects that likely want to use the built in `ghc` package.
1 parent 0b0ee03 commit 20c660a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/component-driver.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ in
9090
] ++ lib.optional (!config.reinstallableLibGhc) "ghc"
9191
++ lib.optionals (
9292
__elem config.compiler.nix-name ["ghc901" "ghc902" "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc927" "ghc941" "ghc942" "ghc943" "ghc944" "ghc945" "ghc961" "ghc96020230302"]) [
93-
"ghc-bignum" ]
93+
"ghc-bignum" "exceptions" "stm"]
9494
++ lib.optionals (
9595
__elem config.compiler.nix-name ["ghc941" "ghc942" "ghc943" "ghc944" "ghc945" "ghc961" "ghc96020230302"]) [
9696
"system-cxx-std-lib" ];

0 commit comments

Comments
 (0)