misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1bi7wsz3p5slb43kj7lgb3r6lb91lvb6ldi556k4y50ix6b5khyb";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake pkgconfig libxml2 libzip ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake libxml2 libzip ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
|
||||
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 perl pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ qt4 perl ];
|
||||
|
||||
configurePhase = ''
|
||||
mkdir -p $out/{bin,man/man1}
|
||||
|
||||
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
buildInputs = [ autoreconfHook pkgconfig pcre zlib lzma ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ pcre zlib lzma ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/ggreer/the_silver_searcher/;
|
||||
|
||||
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "01cps980m99y99cnmvydihga9zh3pvdsqag2fi1n6k2x7rfkl873";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libxml2 ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxml2 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://ofb.net/~egnor/xml2/;
|
||||
|
||||
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1jp737nvfcf6wyb54fla868yrr39kcbijijmjpyk4lrpyg23in0m";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libxml2 libxslt ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxml2 libxslt ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user