Skip to content

Commit 2d73267

Browse files
committed
Disable tests broken because haddock fails for pkgsStatic builds
1 parent 76c82ae commit 2d73267

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cabal-simple/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ in recurseIntoAttrs {
3535
cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
3636
hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
3737
};
38-
withHoogle = true;
38+
withHoogle = !stdenv.hostPlatform.isStatic;
3939
}).overrideAttrs (_: _: {
4040
meta = rec {
4141
platforms = lib.platforms.all;

test/sublib-docs/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let
1414

1515
in recurseIntoAttrs {
1616
# Haddock is not included with cross compilers currently
17-
meta.disabled = haskellLib.isCrossHost;
17+
meta.disabled = haskellLib.isCrossHost || stdenv.hostPlatform.isStatic;
1818
ifdInputs = {
1919
inherit (project) plan-nix;
2020
};

0 commit comments

Comments
 (0)