Skip to content

Commit 4e07cb0

Browse files
committed
Fix tests
1 parent b1ba5a6 commit 4e07cb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/coverage/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
{ stdenv, cabal-install, cabalProject', stackProject', recurseIntoAttrs, runCommand, testSrc }:
1+
{ stdenv, cabal-install, cabalProject', stackProject', recurseIntoAttrs, runCommand, testSrc, compiler-nix-name }:
22

33
with stdenv.lib;
44

55
let
66
projectArgs = {
77
src = testSrc "coverage";
8+
inherit compiler-nix-name;
89
modules = [{
910
# Package has no exposed modules which causes
1011
# haddock: No input file(s)

test/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ let
181181
hls-stack = callTest ./haskell-language-server/stack.nix { inherit compiler-nix-name; };
182182
cabal-hpack = callTest ./cabal-hpack { inherit util compiler-nix-name; };
183183
index-state = callTest ./index-state { inherit compiler-nix-name; };
184-
coverage = callTest ./coverage {};
184+
coverage = callTest ./coverage { inherit compiler-nix-name; };
185185

186186
unit = unitTests;
187187
} // lib.optionalAttrs (!stdenv.hostPlatform.isGhcjs && compiler-nix-name != "ghc8101" && compiler-nix-name != "ghc8102" ) {

0 commit comments

Comments
 (0)