linuxPackages.systemtap: fix cross-build by depending on host Python

This commit is contained in:
Pierre Bourdon 2023-11-26 16:32:42 +01:00
parent c6c20c63b4
commit bc5c75e9ee
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C

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
};