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:
Marie Ramlow
2025-10-13 11:04:34 +02:00
parent 1ddff489f4
commit dc53b6976a
+3 -1
View File
@@ -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,