systemtap: add pyparsing deps for 'dtrace' script

Otherwise, if it fails, it fails with a very bad error about not
being able to import ParseException.

Signed-off-by: Austin Seipp <aseipp@pobox.com>

+7 -3
+7 -3
pkgs/development/tools/profiling/systemtap/default.nix
··· 1 { fetchgit, pkgconfig, gettext, runCommand, makeWrapper 2 - , elfutils, kernel, gnumake, python2, pythonPackages 3 }: 4 5 let ··· 17 name = "systemtap-${version}"; 18 src = fetchgit { inherit url rev sha256; }; 19 nativeBuildInputs = [ pkgconfig ]; 20 - buildInputs = [ elfutils gettext python2 pythonPackages.setuptools ]; 21 # FIXME: Workaround for bug in kbuild, where quoted -I"/foo" flags would get mangled in out-of-tree kbuild dirs 22 postPatch = '' 23 substituteInPlace buildrun.cxx --replace \ ··· 39 done 40 ''; 41 42 in runCommand "systemtap-${kernel.version}-${version}" { 43 inherit stapBuild kernelBuildDir; 44 buildInputs = [ makeWrapper ]; ··· 54 for bin in $stapBuild/bin/*; do # hello emacs */ 55 ln -s $bin $out/bin 56 done 57 - rm $out/bin/stap 58 makeWrapper $stapBuild/bin/stap $out/bin/stap \ 59 --add-flags "-r $kernelBuildDir" \ 60 --prefix PATH : ${lib.makeBinPath [ stdenv.cc.cc stdenv.cc.bintools elfutils gnumake ]} 61 ''
··· 1 { fetchgit, pkgconfig, gettext, runCommand, makeWrapper 2 + , elfutils, kernel, gnumake, python2, python2Packages 3 }: 4 5 let ··· 17 name = "systemtap-${version}"; 18 src = fetchgit { inherit url rev sha256; }; 19 nativeBuildInputs = [ pkgconfig ]; 20 + buildInputs = [ elfutils gettext python2 python2Packages.setuptools ]; 21 # FIXME: Workaround for bug in kbuild, where quoted -I"/foo" flags would get mangled in out-of-tree kbuild dirs 22 postPatch = '' 23 substituteInPlace buildrun.cxx --replace \ ··· 39 done 40 ''; 41 42 + pypkgs = with python2Packages; makePythonPath [ pyparsing ]; 43 + 44 in runCommand "systemtap-${kernel.version}-${version}" { 45 inherit stapBuild kernelBuildDir; 46 buildInputs = [ makeWrapper ]; ··· 56 for bin in $stapBuild/bin/*; do # hello emacs */ 57 ln -s $bin $out/bin 58 done 59 + rm $out/bin/stap $out/bin/dtrace 60 makeWrapper $stapBuild/bin/stap $out/bin/stap \ 61 --add-flags "-r $kernelBuildDir" \ 62 --prefix PATH : ${lib.makeBinPath [ stdenv.cc.cc stdenv.cc.bintools elfutils gnumake ]} 63 + makeWrapper $stapBuild/bin/dtrace $out/bin/dtrace \ 64 + --prefix PYTHONPATH : ${pypkgs} 65 ''