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