on iko/ghcjs-patch-master help sign in
Fix coverage test broken by #897 (#898)
599372bHamish Mackenzie
test/coverage/default.nix+3−2
@@ -5,7 +5,6 @@ with stdenv.lib;
5let
5let
6 projectArgs = {
6 projectArgs = {
7 src = testSrc "coverage";
7 src = testSrc "coverage";
8− inherit compiler-nix-name;
9 modules = [{
8 modules = [{
10 # Package has no exposed modules which causes
9 # Package has no exposed modules which causes
11 # haddock: No input file(s)
10 # haddock: No input file(s)
@@ -17,7 +16,9 @@ let
17 }];
16 }];
18 };
17 };
19
18
19+ # We can easily select a different compiler when using cabal,
20+ # but for stack we would need a different resolver to be used..
20− cabalProj = (cabalProject' projectArgs);
21+ cabalProj = (cabalProject' projectArgs // { inherit compiler-nix-name; });
21 stackProj = (stackProject' projectArgs);
22 stackProj = (stackProject' projectArgs);
22
23
23 exeExt = stdenv.hostPlatform.extensions.executable;
24 exeExt = stdenv.hostPlatform.extensions.executable;