summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2023-11-26 16:32:42 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-26 16:08:31 +0000
commit90ef1879fb0e48a33f863136a87b3818259e4055 (patch)
tree8b34967f703bd1c5f235b633a898484ab4bd1cee
parentMerge pull request #270180 from NixOS/backport-269573-to-release-23.11 (diff)
downloadnixpkgs-90ef1879fb0e48a33f863136a87b3818259e4055.tar.gz
linuxPackages.systemtap: fix cross-build by depending on host Python
(cherry picked from commit bc5c75e9ee5a2ec0437159a4e11861fe31436931)
-rw-r--r--pkgs/development/tools/profiling/systemtap/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix
index db94092e36da..11f5b5d49aad 100644
--- a/pkgs/development/tools/profiling/systemtap/default.nix
+++ b/pkgs/development/tools/profiling/systemtap/default.nix
@@ -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
};