mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
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.
This commit is contained in:
parent
6d165a9474
commit
9c04fcb25f
@ -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
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user