misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs

Only acts on one-line dependency lists.
This commit is contained in:
John Ericson
2017-09-05 17:26:13 -04:00
parent fd9c7eb2e8
commit 531e4b80c9
932 changed files with 2320 additions and 1149 deletions

View File

@@ -20,7 +20,8 @@ in stdenv.mkDerivation {
sha256 = "0dc5cjahv7lzlp92hidlh83rwgrpgb6xz2pnba2pm5xrv2pnsskl";
};
buildInputs = [ cmake pkgconfig libffi llvm_35 ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake libffi llvm_35 ]
++ stdenv.lib.optional doCheck perl;
patches = [ ./link-llvm.patch ];

View File

@@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
name = "factorimage";
};
buildInputs = [ git rlwrap curl pkgconfig perl makeWrapper
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ git rlwrap curl perl makeWrapper
libX11 pango cairo gtk2 gdk_pixbuf gtkglext
mesa libXmu libXt libICE libSM ];

View File

@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0mvmvwwpl4zq0yvgzdizww8l9azvlrc82xm32nz1fi1nw8x5qfqk";
};
buildInputs = [ mono pkgconfig dotnetbuildhelpers autoconf automake which ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mono dotnetbuildhelpers autoconf automake which ];
configurePhase = ''
sed -i '988d' src/FSharpSource.targets

View File

@@ -18,7 +18,8 @@ rustPlatform.buildRustPackage rec {
passthru.rustc = rustc;
buildInputs = [ file curl pkgconfig python openssl cmake zlib makeWrapper libgit2 ]
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ file curl python openssl cmake zlib makeWrapper libgit2 ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
LIBGIT2_SYS_USE_PKG_CONFIG=1;

View File

@@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
];
sourceRoot = "yosys";
buildInputs = [ pkgconfig tcl readline libffi python3 bison flex ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ tcl readline libffi python3 bison flex ];
preBuild = ''
chmod -R u+w ../yosys-abc
ln -s ../yosys-abc abc