systemtap: use python3
This commit is contained in:
parent
88b69dbcbc
commit
9cdd711a66
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user