audit: disable python on different cpu bits
Python wants the cpu to have the same bit size, otherwise the build fails with `error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."`
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
gnugrep,
|
||||
coreutils,
|
||||
|
||||
enablePython ? !stdenv.hostPlatform.isStatic,
|
||||
enablePython ?
|
||||
!stdenv.hostPlatform.isStatic
|
||||
&& stdenv.hostPlatform.parsed.cpu.bits == stdenv.buildPlatform.parsed.cpu.bits,
|
||||
|
||||
# passthru
|
||||
nix-update-script,
|
||||
|
||||
Reference in New Issue
Block a user