1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

haskell: fix GHC version check for GHCJS

closes #7137
This commit is contained in:
Charles Strahan 2015-04-03 18:54:18 -04:00
parent 55325978c0
commit 3d60f6401f

View file

@ -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