on iko/ghcjs-patch-master help sign in
Fix coverage test broken by #897 (#898)
commit599372b4f0dbd6836d8edf311f9387195179eda0 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateThu 29 Oct 2020, 12:04 (6 years ago) parent5f80ca9
1 file changed+3−2
test/coverage/default.nix+3−2
test/coverage/default.nix+3−2
@@ -5,7 +5,6 @@ with stdenv.lib;
55let
66 projectArgs = {
77 src = testSrc "coverage";
8− inherit compiler-nix-name;
98 modules = [{
109 # Package has no exposed modules which causes
1110 # haddock: No input file(s)
@@ -17,7 +16,9 @@ let
1716 }];
1817 };
1918
20− cabalProj = (cabalProject' projectArgs);
19+ # We can easily select a different compiler when using cabal,
20+ # but for stack we would need a different resolver to be used..
21+ cabalProj = (cabalProject' projectArgs // { inherit compiler-nix-name; });
2122 stackProj = (stackProject' projectArgs);
2223
2324 exeExt = stdenv.hostPlatform.extensions.executable;