diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-19 16:40:53 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-19 17:43:52 +0000 |
commit | 9c04fcb25f633980b7cb4484d5138fe6fb11583f (patch) | |
tree | e92aa8859ec8a35994551e7eb924449d4b5c4e23 /pkgs/development/tools/analysis/valgrind/default.nix | |
parent | 6d165a94740e6c1bd1e7a701cf0c2bc66d007fc5 (diff) | |
download | nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.tar nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.tar.gz nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.tar.bz2 nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.tar.lz nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.tar.xz nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.tar.zst nixpkgs-9c04fcb25f633980b7cb4484d5138fe6fb11583f.zip |
valgrind: make meta.platforms more accurate
Valgrind has to do lots of architecture- and OS-specific stuff, so it only works on a defined set of platforms. So rather than marking platforms as bad one by one, let's set meta.platforms to the actual set of platforms supported by Valgrind, as listed in its configure script.
Diffstat (limited to 'pkgs/development/tools/analysis/valgrind/default.nix')
-rw-r--r-- | pkgs/development/tools/analysis/valgrind/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index 25a7211ef49..ea45813303a 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -119,13 +119,9 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.eelco ]; - platforms = lib.platforms.unix; - badPlatforms = [ - "armv5tel-linux" "armv6l-linux" "armv6m-linux" - "sparc-linux" "sparc64-linux" - "riscv32-linux" "riscv64-linux" - "alpha-linux" - ]; + 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 }; } |