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
+2 -1
View File
@@ -42,7 +42,8 @@ let
in stdenv.mkDerivation {
inherit name version src;
buildInputs = [ makeWrapper nodejs ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ nodejs ];
dontBuild = true;
+2 -1
View File
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-08nNDZcd/Hhtel9AVcNdTmaq/IECrANHPvIlvfftsmo=";
};
buildInputs = [ readline tcp_wrappers pcre makeWrapper gcc ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ readline tcp_wrappers pcre gcc ];
# Expects pre-GCC5 inline semantics
NIX_CFLAGS_COMPILE = "-std=gnu89";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "0f0raffdy032wlnxfck6ky60r163nhqfbr311y4ry55l60s4497n";
};
buildInputs = [makeWrapper];
nativeBuildInputs = [ makeWrapper ];
propagatedBuildInputs = with pythonPackages; [ requests vobject lxml ];
+2 -2
View File
@@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
./set-hostname.patch
];
nativeBuildInputs = [ perl ];
nativeBuildInputs = [ perl makeWrapper ];
buildInputs = [ makeWrapper openldap ];
buildInputs = [ openldap ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
+2 -2
View File
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ protobuf ncurses zlib makeWrapper openssl bash-completion ]
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ];
buildInputs = [ protobuf ncurses zlib openssl bash-completion ]
++ (with perlPackages; [ perl IOTty ])
++ lib.optional withUtempter libutempter;
+1 -1
View File
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-QrMFCOhXoihTXGMeqsk2hi2G7KaMFLXAvzh7oXa5G5c=";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
configurePhase =
''
@@ -9,7 +9,8 @@ stdenv.mkDerivation {
sha256 = "16pcyvyhwsx34i0cjkkx906lmrwdd9gvznvqdwlad4ha8l8f8z42";
};
buildInputs = [ makeWrapper coreutils gawk util-linux ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ coreutils gawk util-linux ];
installPhase = ''
install -Dm555 ovpn-learnaddress $out/libexec/openvpn/openvpn-learnaddress
+1 -1
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "1sas9d9kk92mc2wrwgmm0xxz7ycmh388dwvyxf1hy183yvin1nac";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
+2 -1
View File
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0c2sx4nrh4whsqzj6m5ay8d7yqan3aqgg436p8jb25bs91ykn2pv";
};
buildInputs = [ perl makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl ];
installPhase = ''
mkdir -p $out/bin
+2 -1
View File
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1m3971z4z1wr0paggprfz0n8ng8vsnkc9m6s3bdplgyz7qjk6jwx";
};
buildInputs = [ makeWrapper perlPackages.perl perlPackages.LWP perlPackages.URI perlPackages.HTMLParser ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perlPackages.perl perlPackages.LWP perlPackages.URI perlPackages.HTMLParser ];
checkInputs = [ perlPackages.HTTPServerSimple perlPackages.Parent ];
configurePhase = ''
@@ -31,7 +31,7 @@ in pythonPackages.buildPythonPackage rec {
sha256 = "6V0sM0Z+2xNDgL0wIzJOdaUp2Ol4ejNTk9K/pllVa7g=";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/telepresence \
+2 -1
View File
@@ -19,7 +19,8 @@ stdenv.mkDerivation {
# `ifconfig' as found in net-tools (not GNU Inetutils).
propagatedBuildInputs = [ nettools ];
buildInputs = [libgcrypt perl makeWrapper openssl ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [libgcrypt perl openssl ];
preConfigure = ''
sed -i 's|^#OPENSSL|OPENSSL|g' Makefile