@@ -5,7 +5,6 @@ with stdenv.lib;
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
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);
23 exeExt = stdenv.hostPlatform.extensions.executable;
24 exeExt = stdenv.hostPlatform.extensions.executable;