about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/with-packages-wrapper.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-04-03 18:54:18 -0400
committerCharles Strahan <charles.c.strahan@gmail.com>2015-04-03 18:54:18 -0400
commit3d60f6401fe698262dfb636c506cc635b1c340dc (patch)
tree6caded0cc243c0635b6a3e444f1be8f06ca4da1e /pkgs/development/haskell-modules/with-packages-wrapper.nix
parent55325978c05daa63afcac931c156c69152788725 (diff)
downloadnixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.tar
nixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.tar.gz
nixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.tar.bz2
nixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.tar.lz
nixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.tar.xz
nixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.tar.zst
nixlib-3d60f6401fe698262dfb636c506cc635b1c340dc.zip
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.nix2
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 22932eea665d..30035671a327 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