kexectools: Only build on kexecable architectures.

wip/yesman
Shea Levy 6 years ago
parent aaaa6f0a69
commit 63fa1fcb04
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27
  1. 3
      lib/systems/inspect.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -35,6 +35,9 @@ rec {
MinGW = { kernel = kernels.windows; abi = abis.gnu; };
Musl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ];
Kexecable = map (family: { kernel = kernels.linux; cpu.family = family; })
[ "x86" "arm" "aarch64" "mips" ];
};
matchAnyAttrs = patterns:

@ -3063,7 +3063,9 @@ with pkgs;
keepalived = callPackage ../tools/networking/keepalived { };
kexectools = callPackage ../os-specific/linux/kexectools { };
kexectools = if hostPlatform.isKexecable
then callPackage ../os-specific/linux/kexectools { }
else null;
keybase = callPackage ../tools/security/keybase { };

Loading…
Cancel
Save