nix-daemon: platform.gcc.arch is not x86 specific
This commit is contained in:
parent
cf7b63df5b
commit
707e43b961
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ in
|
||||||
|
|
||||||
nix.systemFeatures = mkDefault (
|
nix.systemFeatures = mkDefault (
|
||||||
[ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++
|
[ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++
|
||||||
optionals (pkgs.stdenv.isx86_64 && pkgs.hostPlatform.platform ? gcc.arch) (
|
optionals (pkgs.hostPlatform.platform ? gcc.arch) (
|
||||||
# a x86_64 builder can run code for `platform.gcc.arch` and inferior architectures:
|
# a x86_64 builder can run code for `platform.gcc.arch` and inferior architectures:
|
||||||
[ "gccarch-${pkgs.hostPlatform.platform.gcc.arch}" ] ++ map (x: "gccarch-${x}") lib.systems.architectures.inferiors.${pkgs.hostPlatform.platform.gcc.arch}
|
[ "gccarch-${pkgs.hostPlatform.platform.gcc.arch}" ] ++ map (x: "gccarch-${x}") lib.systems.architectures.inferiors.${pkgs.hostPlatform.platform.gcc.arch}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue