misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -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 ];
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user