From 3d60f6401fe698262dfb636c506cc635b1c340dc Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Fri, 3 Apr 2015 18:54:18 -0400 Subject: [PATCH] haskell: fix GHC version check for GHCJS closes #7137 --- pkgs/development/haskell-modules/with-packages-wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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