Skip to content

Commit f8cbca5

Browse files
committed
Fix test filter
1 parent 49913c3 commit f8cbca5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

test/lookup-sha256/default.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
{ pkgs, lib, stdenv, haskell-nix, testSrc, zlib, compiler-nix-name } :
2-
lib.addMetaAttrs {
1+
{ pkgs, lib, stdenv, haskell-nix, testSrc, zlib, compiler-nix-name, recurseIntoAttrs } : recurseIntoAttrs {
2+
# The version of pandoc used in this test does not build with ghcjs or ghc 8.10
3+
meta.disabled = stdenv.hostPlatform.isGhcjs
4+
|| builtins.compareVersions pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "8.10" >= 0;
5+
build = lib.addMetaAttrs {
36
# A dependency is broken on windows, just run this on unix.
47
platforms = lib.platforms.unix;
5-
# The version of pandoc used in this test does not build with ghcjs or ghc 8.10
6-
disabled = stdenv.hostPlatform.isGhcjs
7-
|| builtins.compareVersions pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "8.10" >= 0;
88
} ((haskell-nix.hackage-package {
99
inherit compiler-nix-name;
1010
name = "pandoc";
@@ -18,4 +18,5 @@
1818
cabalProjectLocal = ''
1919
allow-newer: *:base
2020
'';
21-
}).components.exes.pandoc)
21+
}).components.exes.pandoc);
22+
}

0 commit comments

Comments
 (0)