summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-09-24 07:32:19 +0000
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-10-01 17:24:53 -0300
commit70068d171eff8f2be97073c68c391b7ec92aed22 (patch)
tree7abf24f591ee277eb40ce06e91413e490ca2e47a
parentc8ea41a26a934471d5ebdcde17ce02508b3d4633 (diff)
downloadnixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.tar
nixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.tar.gz
nixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.tar.bz2
nixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.tar.lz
nixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.tar.xz
nixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.tar.zst
nixpkgs-70068d171eff8f2be97073c68c391b7ec92aed22.zip
pkgsStatic.valgrind: mark unsupported
This being marked broken predated it being possible to mark packages
as being unsupported when built statically.  It's more accurate to say
that static valgrind is unsupported than broken.
-rw-r--r--pkgs/development/tools/analysis/valgrind/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix
index 6cee7ef029d..bd56eb539e0 100644
--- a/pkgs/development/tools/analysis/valgrind/default.nix
+++ b/pkgs/development/tools/analysis/valgrind/default.nix
@@ -131,6 +131,7 @@ stdenv.mkDerivation rec {
     platforms = with lib.platforms; lib.intersectLists
       (x86 ++ power ++ s390x ++ armv7 ++ aarch64 ++ mips)
       (darwin ++ freebsd ++ illumos ++ linux);
-    broken = stdenv.isDarwin || stdenv.hostPlatform.isStatic; # https://hydra.nixos.org/build/128521440/nixlog/2
+    badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ];
+    broken = stdenv.isDarwin; # https://hydra.nixos.org/build/128521440/nixlog/2
   };
 }