diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix index b828dbfc7156..31eafb1086b8 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;