mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Fix nix_system_cpu on i686-linux
Fixes #13532.
(cherry picked from commit 54dc5314e8)
This commit is contained in:
parent
70439b4174
commit
23ecb1067c
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
powerpc_system_cpus = [ 'ppc64', 'ppc' ]
|
||||
|
||||
nix_system_cpu = {'ppc64' : 'powerpc64', 'ppc' : 'powerpc'}.get(
|
||||
nix_system_cpu = {'ppc64' : 'powerpc64', 'ppc' : 'powerpc', 'x86' : 'i686'}.get(
|
||||
host_machine.cpu_family(),
|
||||
host_machine.cpu_family(),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue