misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
preConfigure = "patchShebangs src/bin-to-c-source.py";
|
||||
buildInputs = [ cmake pkgconfig zlib curl elfutils python libiberty binutils ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake zlib curl elfutils python libiberty binutils ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
|
||||
|
||||
@@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildInputs = [pkgconfig readline libusb perl]
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ readline libusb perl]
|
||||
++ optional useX11 [gtkdialog vte gtk2]
|
||||
++ optional rubyBindings [ruby]
|
||||
++ optional pythonBindings [python]
|
||||
|
||||
@@ -40,7 +40,8 @@ stdenv.mkDerivation rec {
|
||||
'(*info->fprintf_func) (info->stream, "%s", errmsg);'
|
||||
'';
|
||||
|
||||
buildInputs = [pkgconfig readline libusb libewf perl zlib openssl]
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ readline libusb libewf perl zlib openssl]
|
||||
++ optional useX11 [gtkdialog vte gtk2]
|
||||
++ optional rubyBindings [ruby]
|
||||
++ optional pythonBindings [python]
|
||||
|
||||
@@ -16,7 +16,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "0r43qi6vryqg450fj73yjwbb7gzcgx64rhrhb3r1m6a252srijiy";
|
||||
};
|
||||
|
||||
buildInputs = [sqlite pkgconfig perl]
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [sqlite perl]
|
||||
++ stdenv.lib.optional buildllvmsparse llvm
|
||||
++ stdenv.lib.optional buildc2xml libxml2;
|
||||
|
||||
|
||||
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
|
||||
sed -i Makefile -e "s|^PREFIX=.*$|PREFIX=$out|g"
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig libxml2 llvm ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxml2 llvm ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user