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
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "1qpylyxrisy3p2lyirfarfj5yzrdjgsgxwf8gqwljpcjn207hr72";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -Dm755 0x0 $out/bin/0x0
+2 -2
View File
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
URI
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ perlPackages.perl libpcap makeWrapper ];
nativeBuildInputs = [ autoreconfHook makeWrapper ];
buildInputs = [ perlPackages.perl libpcap ];
postInstall = ''
for name in get-{oui,iab}; do
+2 -1
View File
@@ -16,7 +16,8 @@ stdenv.mkDerivation rec {
doCheck = true;
buildInputs = [ perl makeWrapper gettext ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl gettext ];
propagatedBuildInputs = [ textual-window-manager screen ];
postPatch = ''
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "0zyyg4mvrny7cc2xgvfip97b6yc75ka5ni39rwls93971jbk83d6";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -Dm755 src/capture.sh $out/bin/capture
+2 -3
View File
@@ -15,9 +15,8 @@ stdenv.mkDerivation rec {
sourceRoot=$(echo */Unix)
'';
buildInputs = [ makeWrapper ] ++ (with perlPackages; [
perl AlgorithmDiff ParallelForkManager RegexpCommon
]);
nativeBuildInputs = [ makeWrapper ];
buildInputs = (with perlPackages; [ perl AlgorithmDiff ParallelForkManager RegexpCommon ]);
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];
@@ -16,7 +16,8 @@ in stdenv.mkDerivation rec {
sha256 = "0xy1nvqrnifx46g8ch69pk31by0va6hn10wpi1fkrsrgncanjjh1";
};
buildInputs = [ unzip xz dpkg libxslt python setuptools makeWrapper curl gnupg diffutils ] ++
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip xz dpkg libxslt python setuptools curl gnupg diffutils ] ++
(with perlPackages; [ perl CryptSSLeay LWP TimeDate DBFile FileDesktopEntry ParseDebControl LWPProtocolHttps ]);
preConfigure = ''
+1 -1
View File
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
dontBuild = true;
dontStrip = true;
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
makeWrapperArgs = [ "--prefix" "PATH" ":" "${jre_headless}/bin" ];
passthru.tests = { inherit (nixosTests) graylog; };
+1 -1
View File
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "0xc2s4s1aq143zz8lgkq5k25dpf049dw253qxiav5k7d7qvzzy57";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
phases = [ "installPhase" "fixupPhase" ];
+2 -1
View File
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "1bkjlg0a2bbdjhwp37ci1rwikvrl4s3xlbf2jq2z4azc96dr83mj";
};
buildInputs = [ makeWrapper perl ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl ];
installPhase = ''
mkdir -p $out/{bin,share/man/man1}
+2 -1
View File
@@ -19,7 +19,8 @@ stdenv.mkDerivation {
sha256 = "1gr5l2fr9qbdccga8bhsrpvz6jxigvfkdxrln9wyf2xpps5cdjxh";
};
buildInputs = [ goobook makeWrapper perl ConvertASN1 perlldap AuthenSASL ]
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ goobook perl ConvertASN1 perlldap AuthenSASL ]
++ optional (!stdenv.isDarwin) finger_bsd
++ optional (abook != null) abook
++ optional (gnupg != null) gnupg
+2 -1
View File
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook
'';
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ]
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]
++ optional stdenv.isDarwin darwin.cctools;
propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ];
+1 -1
View File
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0ri7qmpc1xpy12lpzl6k298c641wcibcwrzz8jn75wdg4rr176r5";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
libPath = lib.makeLibraryPath [
xorg.libX11
+2 -1
View File
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "0b0hilqmgz6n1q7irp17h48v8fjpxhjapgw1py8kyav1d51s7mm2";
};
buildInputs = [ autoconf automake curl jdk makeWrapper nettools python git ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ autoconf automake curl jdk nettools python git ];
preConfigure = ''
patchShebangs ./build-aux/
+1 -1
View File
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-mfv1b40n/opXdyj6IXWVf/32sWlS+/DbXIRwE1zX4KM=";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
# executables
install -Dt $out/bin os-prober linux-boot-prober
+1 -1
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "0w6a789zffvz4ixsb92q45n5s4xyx7s2l2f07972i3dajaaai8z7";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
liveDeps = [ jq curl ] ++ lib.optional screenshots maim
++ lib.optional video capture
+2 -1
View File
@@ -16,7 +16,8 @@ stdenv.mkDerivation {
wrapProgram $out/bin/pk2cmd --prefix PATH : $out/share/pk2
'';
buildInputs = [ libusb-compat-0_1 makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ libusb-compat-0_1 ];
meta = {
homepage = "https://www.microchip.com/pickit2";
+1 -1
View File
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "1p8s60dlzaldp006yj710s371aan915asyjhd99188vrj4jj1x79";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
+2 -1
View File
@@ -8,7 +8,8 @@ stdenv.mkDerivation {
sha256 = "12mjabf5cpp5dgg63s19rlyq3dhhpzzy2sa439yncqzsk7rdg0n3";
};
buildInputs = [ python3 texinfo makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ python3 texinfo ];
inherit python3;
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "11sjf4j9dr6ih9jkg6vqq6gkfg6wly4182bi1008bsm1zdmm5iz7";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
PREFIX=\"\" DESTDIR=$out make install
+1 -1
View File
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
name = "pws-${(import ./gemset.nix).pws.version}";
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
phases = ["installPhase"];
+2 -2
View File
@@ -18,8 +18,8 @@ in stdenv.mkDerivation rec {
};
pythonPaths = [ pycrypto pyyaml requests ];
buildInputs = [ python perl nose mock makeWrapper python-dateutil setuptools ] ++ pythonPaths;
nativeBuildInputs = [ gitMinimal zip ];
buildInputs = [ python perl nose mock python-dateutil setuptools ] ++ pythonPaths;
nativeBuildInputs = [ gitMinimal zip makeWrapper ];
postPatch = ''
substituteInPlace scripts/run-tests.sh \
+1 -1
View File
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "473e27f3b69864b905d1340d97917cd202705c761611eb3aec4c24521f69b52c";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
+1 -1
View File
@@ -10,7 +10,7 @@ let
in
stdenv.mkDerivation {
name = "xvfb-run";
buildInputs = [makeWrapper];
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
mkdir -p $out/bin
cp ${xvfb_run} $out/bin/xvfb-run