Skip to content

Commit

Permalink
Disable more broken packages
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Mar 25, 2023
1 parent 87f813c commit 3b471a8
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 11 deletions.
6 changes: 5 additions & 1 deletion test/cabal-hpack/default.nix
Expand Up @@ -56,7 +56,11 @@ in recurseIntoAttrs {
touch $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Used for debugging with nix repl
Expand Down
6 changes: 5 additions & 1 deletion test/cabal-simple/default.nix
Expand Up @@ -64,7 +64,11 @@ in recurseIntoAttrs {
touch $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Used for debugging with nix repl
Expand Down
6 changes: 5 additions & 1 deletion test/cabal-source-repo/default.nix
Expand Up @@ -27,7 +27,11 @@ in recurseIntoAttrs {
touch $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Attributes used for debugging with nix repl
Expand Down
6 changes: 5 additions & 1 deletion test/cabal-sublib/default.nix
Expand Up @@ -57,7 +57,11 @@ in recurseIntoAttrs {
touch $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Used for debugging with nix repl
Expand Down
6 changes: 5 additions & 1 deletion test/call-cabal-project-to-nix/default.nix
Expand Up @@ -40,7 +40,11 @@ in recurseIntoAttrs {
touch $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Attributes used for debugging with nix repl
Expand Down
6 changes: 5 additions & 1 deletion test/exe-only/default.nix
Expand Up @@ -44,7 +44,11 @@ in recurseIntoAttrs {
touch $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Used for debugging with nix repl
Expand Down
8 changes: 7 additions & 1 deletion test/extra-hackage/default.nix
Expand Up @@ -57,7 +57,13 @@ in recurseIntoAttrs {
'')) + ''
touch $out
'';
meta.platforms = platforms.all;

meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
inherit project;
};
Expand Down
6 changes: 5 additions & 1 deletion test/ghc-options/stack.nix
Expand Up @@ -35,7 +35,11 @@ in recurseIntoAttrs {
echo '${concatStringsSep " " packageNames}' > $out
'';

meta.platforms = platforms.all;
meta = rec {
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"];
disabled = broken;
};

passthru = {
# Attributes used for debugging with nix repl
Expand Down
7 changes: 4 additions & 3 deletions test/with-packages/default.nix
Expand Up @@ -94,9 +94,10 @@ in recurseIntoAttrs {

dontInstall = true;

meta = {
platforms = platforms.all;
disabled = stdenv.hostPlatform.isMusl;
meta = rec {
platforms = lib.platforms.all;
broken = (stdenv.hostPlatform.isGhcjs && __elem compiler-nix-name ["ghc961"]) || stdenv.hostPlatform.isMusl;
disabled = broken;
};

passthru = {
Expand Down

0 comments on commit 3b471a8

Please sign in to comment.