diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2015-04-03 18:54:18 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2015-04-03 18:54:18 -0400 |
commit | 3d60f6401fe698262dfb636c506cc635b1c340dc (patch) | |
tree | 6caded0cc243c0635b6a3e444f1be8f06ca4da1e /pkgs/development/haskell-modules/with-packages-wrapper.nix | |
parent | 55325978c05daa63afcac931c156c69152788725 (diff) |
haskell: fix GHC version check for GHCJS
closes #7137
Diffstat (limited to 'pkgs/development/haskell-modules/with-packages-wrapper.nix')
-rw-r--r-- | pkgs/development/haskell-modules/with-packages-wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix index 22932eea665da..30035671a3274 100644 --- a/pkgs/development/haskell-modules/with-packages-wrapper.nix +++ b/pkgs/development/haskell-modules/with-packages-wrapper.nix @@ -3,7 +3,7 @@ , ignoreCollisions ? false, withLLVM ? false }: # This wrapper works only with GHC 6.12 or later. -assert lib.versionOlder "6.12" ghc.version; +assert lib.versionOlder "6.12" ghc.version || ghc.isGhcjs; # It's probably a good idea to include the library "ghc-paths" in the # compiler environment, because we have a specially patched version of |