Skip to content

Commit

Permalink
Fix coverage test broken by #897 (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 28, 2020
1 parent 5f80ca9 commit 599372b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/coverage/default.nix
Expand Up @@ -5,7 +5,6 @@ with stdenv.lib;
let
projectArgs = {
src = testSrc "coverage";
inherit compiler-nix-name;
modules = [{
# Package has no exposed modules which causes
# haddock: No input file(s)
Expand All @@ -17,7 +16,9 @@ let
}];
};

cabalProj = (cabalProject' projectArgs);
# We can easily select a different compiler when using cabal,
# but for stack we would need a different resolver to be used..
cabalProj = (cabalProject' projectArgs // { inherit compiler-nix-name; });
stackProj = (stackProject' projectArgs);

exeExt = stdenv.hostPlatform.extensions.executable;
Expand Down

0 comments on commit 599372b

Please sign in to comment.