diff --git a/pkgs/os-specific/linux/audit/default.nix b/pkgs/os-specific/linux/audit/default.nix index de71b7d8c3e0..e9762f44dcdc 100644 --- a/pkgs/os-specific/linux/audit/default.nix +++ b/pkgs/os-specific/linux/audit/default.nix @@ -3,7 +3,10 @@ runCommand, autoreconfHook, autoconf, automake, libtool, - enablePython ? true, python3, swig, + # Enabling python support while cross compiling would be possible, but + # the configure script tries executing python to gather info instead of + # relying on python3-config exclusively + enablePython ? stdenv.hostPlatform == stdenv.buildPlatform, python3, swig, linuxHeaders ? stdenv.cc.libc.linuxHeaders }: