misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
|
||||
--replace "/bin/cp" "${coreutils}/bin/cp"
|
||||
'';
|
||||
|
||||
buildInputs = [ binutils zlib popt pkgconfig linuxHeaders libiberty_static ]
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ binutils zlib popt linuxHeaders libiberty_static ]
|
||||
++ stdenv.lib.optionals withGUI [ qt4 ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wb4d844rsy8qjg3z5m6rnfm72da4xwzrrkkb1q5r10sq1pkrw5s";
|
||||
};
|
||||
|
||||
buildInputs = [ binutils pkgconfig gtk2 glib pango libglade ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ binutils gtk2 glib pango libglade ];
|
||||
|
||||
meta = {
|
||||
homepage = http://sysprof.com/;
|
||||
|
||||
@@ -14,7 +14,8 @@ let
|
||||
stapBuild = stdenv.mkDerivation {
|
||||
name = "systemtap-${version}";
|
||||
src = fetchgit { inherit url rev sha256; };
|
||||
buildInputs = [ elfutils pkgconfig gettext python2 pythonPackages.setuptools ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ elfutils gettext python2 pythonPackages.setuptools ];
|
||||
# FIXME: Workaround for bug in kbuild, where quoted -I"/foo" flags would get mangled in out-of-tree kbuild dirs
|
||||
postPatch = ''
|
||||
substituteInPlace buildrun.cxx --replace \
|
||||
|
||||
Reference in New Issue
Block a user