Skip to content

Commit 5d171ef

Browse files
committed
skip tests that don't work on ghc 9
1 parent 7f7bd8f commit 5d171ef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/index-state/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Test a package set
2-
{ stdenv, lib, testSrc, tool, compiler-nix-name, buildPackages }:
2+
{ stdenv, lib, testSrc, tool, compiler-nix-name }:
33

44
with lib;
55

@@ -39,8 +39,7 @@ in
3939
meta.platforms = platforms.all;
4040
# This test will need to be updated to use newer hackage index-state for it
4141
# to work with GHC 9 and above.
42-
meta.disabled = builtins.compareVersions
43-
buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.0" >= 0;
42+
meta.disabled = compiler-nix-name == "ghc901";
4443

4544

4645
passthru = {

0 commit comments

Comments
 (0)