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
@@ -15,7 +15,8 @@ in
sha256 = "1kn84rsvms1v5l1j2xgrk7dc7mnsmxkc6sqd94mnim22vnwvl8mz";
};
buildInputs = [ jre makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
phases = "installPhase";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0hzyh66rlawxip4n2pvz7pbs0cq82clqv1d6c7hf60v1drjxw287";
};
buildInputs = [mercurial.python mercurial makeWrapper];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [mercurial.python mercurial];
installPhase = ''
binPath=$out/bin
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
sha256 = "13m9y0m6gc3mlw3pqv9x4i0him2ycbysizigdvdanhh514kga602";
};
nativeBuildInputs = [ libxslt ];
nativeBuildInputs = [ libxslt makeWrapper ];
buildInputs = [ openssl makeWrapper ];
buildInputs = [ openssl ];
patchPhase = ''
substituteInPlace commands.cpp \
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
installFlags = [ "prefix=$(out)" ];
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
# perl provides shasum
postInstall = ''
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "11n46bngvca5wbdbfcxzjhjbfdbad7sgf7h9gf956cb1q8swsdm0";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildPhase = null;
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1g8i6vpjnnfh7vc1269c91bap267w4bxdqqwnzb8x18vqgn2fx8i";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildPhase = null;
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0v0yxydpw6r4awy0hb7sbnh520zsk86ibzh1xjf3983yhsvkfk5v";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
@@ -14,7 +14,7 @@ in stdenv.mkDerivation {
sha256 = "0hc7yavcp8jmn6b7wngjqhy8kl7f4191sfpik8ycvqghkvvimxj4";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -D git-secret $out/bin/git-secret
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "01if8y93wa0mwbkzkzx2v1vqh47zlz4k1dysl6yh5rmppd1psknz";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
@@ -67,10 +67,10 @@ stdenv.mkDerivation {
--subst-var-by gettext ${gettext}
'';
nativeBuildInputs = [ gettext perlPackages.perl ]
nativeBuildInputs = [ gettext perlPackages.perl makeWrapper ]
++ lib.optionals withManual [ asciidoctor texinfo xmlto docbook2x
docbook_xsl docbook_xsl_ns docbook_xml_dtd_45 libxslt ];
buildInputs = [curl openssl zlib expat cpio makeWrapper libiconv]
buildInputs = [curl openssl zlib expat cpio libiconv]
++ lib.optionals perlSupport [ perlPackages.perl ]
++ lib.optionals guiSupport [tcl tk]
++ lib.optionals withpcre2 [ pcre2 ]
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-kHirHG/bfsU6tKyQ0khNSTyChhzHfzib+HyA3LOtBI8=";
};
buildInputs = [ pkgs.makeWrapper ];
nativeBuildInputs = [ pkgs.makeWrapper ];
preBuild = ''
makeFlagsArray+=(prefix="$out")
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
sha256 = "0ly2vrv6q31n0xhciwb7a1ilr5c6ndyi3bg81yfp4axiypps7l41";
};
buildInputs = [ ruby makeWrapper ];
nativeBuildInputs = [ ruby makeWrapper ];
dontBuild = true;
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1dkr69plk16wllk5bzlkchrzw63pk239dgbjhrb3mb61i065jdam";
};
buildInputs = [ makeWrapper git openssl coreutils util-linux gnugrep gnused gawk ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ git openssl coreutils util-linux gnugrep gnused gawk ];
patches = [ ./helper-scripts_depspathprefix.patch ];