Merge pull request #270165 from delroth/systemtap-cross

linuxPackages.systemtap: fix cross-build by depending on host Python
This commit is contained in:
Silvan Mosberger 2023-11-26 17:08:02 +01:00 committed by GitHub
commit 78112a98f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ let
inherit version;
src = fetchgit { inherit url rev sha256; };
nativeBuildInputs = [ pkg-config cpio python3 python3.pkgs.setuptools ];
buildInputs = [ elfutils gettext ];
buildInputs = [ elfutils gettext python3 ];
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=deprecated-declarations" ]; # Needed with GCC 12
};