We noticed that ghcjs packages always run with --disable-tests.
This is most likely accidental, because we have in the generic Haskell builder:
|
(optionalString (isGhcjs || versionOlder "7" ghc.version) (enableFeature doCheck "tests")) |
|
, doCheck ? !isCross && (stdenv.lib.versionOlder "7.4" ghc.version) |
For ghcjs, ghc.version is 0.2.020170323.
So the tests don't run because 0.2.020170323 < 7.4.
The problem here is that ghcjs uses a different versioning scheme from ghc.
We noticed that ghcjs packages always run with
--disable-tests.This is most likely accidental, because we have in the generic Haskell builder:
nixpkgs/pkgs/development/haskell-modules/generic-builder.nix
Line 132 in 2dca1a6
nixpkgs/pkgs/development/haskell-modules/generic-builder.nix
Line 16 in 2dca1a6
For ghcjs,
ghc.versionis0.2.020170323.So the tests don't run because
0.2.020170323 < 7.4.The problem here is that ghcjs uses a different versioning scheme from ghc.