We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
impl(ghcjs)
true
1 parent 6e6af2e commit 8f50d10Copy full SHA for 8f50d10
modules/cabal.nix
@@ -10,7 +10,7 @@ let
10
isGhc = true;
11
# this is partially a hack to support `impl(ghcjs)`.
12
# We set GHC == true _and_ GHCJS == true.
13
- isGhcjs = hostMap.os == "Ghcjs";
+ isGhcjs = hostMap.os == "Ghcjs" && (builtins.compareVersions config.compiler.version "9" < 0);
14
# maybe we need something for asterius here
15
# as well.
16
version = lib.mapAttrs (_: f: v: f (builtins.compareVersions config.compiler.version v)) {
0 commit comments