@@ -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;