summary refs log tree commit diff
path: root/pkgs/development/tools/profiling
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-12 04:37:34 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-16 02:36:24 +0100
commit9cdd711a66b7d383ed61adfa7c37b570ee46a5b3 (patch)
treea305ddf4fddc6e9e6e97ca05dfe34913ce71c09b /pkgs/development/tools/profiling
parent88b69dbcbc5ae086ea93d8ba9eba059c0cde5ec9 (diff)
downloadnixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.tar
nixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.tar.gz
nixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.tar.bz2
nixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.tar.lz
nixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.tar.xz
nixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.tar.zst
nixpkgs-9cdd711a66b7d383ed61adfa7c37b570ee46a5b3.zip
systemtap: use python3
Diffstat (limited to 'pkgs/development/tools/profiling')
-rw-r--r--pkgs/development/tools/profiling/systemtap/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix
index b828dbfc715..31eafb1086b 100644
--- a/pkgs/development/tools/profiling/systemtap/default.nix
+++ b/pkgs/development/tools/profiling/systemtap/default.nix
@@ -1,5 +1,5 @@
 { lib, fetchgit, pkg-config, gettext, runCommand, makeWrapper
-, elfutils, kernel, gnumake, python2, python2Packages
+, cpio, elfutils, kernel, gnumake, python3
 }:
 
 let
@@ -16,8 +16,8 @@ let
     pname = "systemtap";
     inherit version;
     src = fetchgit { inherit url rev sha256; };
-    nativeBuildInputs = [ pkg-config ];
-    buildInputs = [ elfutils gettext python2 python2Packages.setuptools ];
+    nativeBuildInputs = [ pkg-config cpio ];
+    buildInputs = [ elfutils gettext python3 python3.pkgs.setuptools ];
     enableParallelBuilding = true;
   };
 
@@ -33,7 +33,7 @@ let
     done
   '';
 
-  pypkgs = with python2Packages; makePythonPath [ pyparsing ];
+  pypkgs = with python3.pkgs; makePythonPath [ pyparsing ];
 
 in runCommand "systemtap-${kernel.version}-${version}" {
   inherit stapBuild kernelBuildDir;