treewide: makeWrapper buildInputs to nativeBuildInputs

This commit is contained in:
Ben Siraphob
2021-02-19 20:09:16 +07:00
parent 06c2bba257
commit e03c068af5
332 changed files with 532 additions and 391 deletions
@@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "09m4dnn4kplawprd2bl15nwa0b4r1brab3x44ga7f1fyk7aw5zwq";
};
nativeBuildInputs = [ gettext ];
buildInputs = [ makeWrapper alsaLib ncurses libsamplerate fftw ];
nativeBuildInputs = [ gettext makeWrapper ];
buildInputs = [ alsaLib ncurses libsamplerate fftw ];
configureFlags = [ "--disable-xmlto" "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ];
+2 -2
View File
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-gC1Q+kG/oKfYvuHVKstpRWfL/thsemULrimPrV/eeaI=";
};
nativeBuildInputs = [ pkg-config help2man autoreconfHook ];
buildInputs = [ fuse makeWrapper ];
nativeBuildInputs = [ pkg-config help2man autoreconfHook makeWrapper ];
buildInputs = [ fuse ];
preConfigure = lib.optionalString enableDebugBuild ''
sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am
@@ -18,8 +18,8 @@ in stdenv.mkDerivation rec {
kernel = optional (_kernel != null) _kernel.dev;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ makeWrapper util-linux openssl libcap_ng pythonEnv
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ util-linux openssl libcap_ng pythonEnv
perl procps which ];
configureFlags = [
+2 -3
View File
@@ -19,9 +19,8 @@ in stdenv.mkDerivation rec {
kernel = optional (_kernel != null) _kernel.dev;
nativeBuildInputs = [ autoconf libtool automake pkg-config ];
buildInputs = [ makeWrapper util-linux openssl libcap_ng python2
perl procps which ];
nativeBuildInputs = [ autoconf libtool automake pkg-config makeWrapper ];
buildInputs = [ util-linux openssl libcap_ng python2 perl procps which ];
preConfigure = "./boot.sh";
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
rev = "ae42f1b5fef82b3bc23fe93c95c345e7af65fef3";
sha256 = "0c342m0bpq6ranr7dsxk9qi5mg3j5aw9wv85ql8gprdb2pz59qy8";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -D pipework $out/bin/pipework
wrapProgram $out/bin/pipework --prefix PATH : \
+2 -2
View File
@@ -63,8 +63,8 @@ stdenv.mkDerivation {
touch gnu-efi/inc/ia32/gnu/stubs-32.h
'';
nativeBuildInputs = [ nasm perl python3 ];
buildInputs = [ libuuid makeWrapper ];
nativeBuildInputs = [ nasm perl python3 makeWrapper ];
buildInputs = [ libuuid ];
enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
hardeningDisable = [ "pic" "stackprotector" "fortify" ];