nix-daemon: platform.gcc.arch is not x86 specific
This commit is contained in:
parent
707e43b961
commit
5c384e1268
@ -595,8 +595,9 @@ in
|
|||||||
nix.systemFeatures = mkDefault (
|
nix.systemFeatures = mkDefault (
|
||||||
[ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++
|
[ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++
|
||||||
optionals (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 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…
x
Reference in New Issue
Block a user