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 -2
View File
@@ -10,8 +10,8 @@ stdenv.mkDerivation {
rev = "15471e75f3d65b93150f414ebcaf59a03054b68d";
};
buildInputs = [ gmp which flex bison makeWrapper autoconf automake libtool
jdk perl ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ gmp which flex bison autoconf automake libtool jdk perl ];
preConfigure = ''
cd aldor ;
@@ -18,7 +18,8 @@ in
stdenv.mkDerivation ({
name = "chicken-${name}";
propagatedBuildInputs = buildInputs;
buildInputs = [ makeWrapper chicken ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ chicken ];
CSC_OPTIONS = lib.concatStringsSep " " cscOptions;
@@ -17,7 +17,8 @@ in
stdenv.mkDerivation ({
name = "chicken-${name}";
propagatedBuildInputs = buildInputs;
buildInputs = [ makeWrapper chicken ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ chicken ];
CSC_OPTIONS = lib.concatStringsSep " " cscOptions;
@@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
./fuel-dir.patch
];
buildInputs = with xorg; [ git rlwrap curl pkg-config perl makeWrapper
nativeBuildInputs = [ makeWrapper ];
buildInputs = with xorg; [ git rlwrap curl pkg-config perl
libX11 pango cairo gtk2 gdk-pixbuf gtkglext
mesa libXmu libXt libICE libSM openssl unzip ];
@@ -12,7 +12,8 @@ in stdenv.mkDerivation {
};
propagatedBuildInputs = [ jre ] ;
buildInputs = [ makeWrapper unzip ] ;
buildInputs = [ unzip ] ;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "ef093ae81424c4f3fe696eff9aefb5fb66899e11bb17ae0326adfb70d09c1c1f";
};
buildInputs = [ gcc flex bison texinfo jdk erlang makeWrapper
readline ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ gcc flex bison texinfo jdk erlang readline ];
patchPhase = ''
# Fix calls to programs in /bin
+1 -1
View File
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
TK_LIBRARY = "${tk-8_5}/lib/tk8.5";
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
mkdir $out
@@ -83,11 +83,9 @@ let result = stdenv.mkDerivation rec {
sha256 = sha256.${stdenv.hostPlatform.system};
};
nativeBuildInputs = [ file ]
nativeBuildInputs = [ file makeWrapper ]
++ lib.optional installjce unzip;
buildInputs = [ makeWrapper ];
# See: https://github.com/NixOS/patchelf/issues/10
dontStrip = 1;
+2 -2
View File
@@ -83,8 +83,8 @@ rec {
license = [ licenses.mit licenses.asl20 ];
};
buildInputs = [ makeWrapper bash ]
++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash ] ++ lib.optional stdenv.isDarwin Security;
postPatch = ''
patchShebangs .
@@ -28,8 +28,8 @@ rustPlatform.buildRustPackage rec {
# rls-rustc links to rustc_private crates
CARGO_BUILD_RUSTFLAGS = if stdenv.isDarwin then "-C rpath" else null;
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ openssh openssl curl zlib libiconv makeWrapper rustPlatform.rust.rustc.llvm ]
nativeBuildInputs = [ pkg-config cmake makeWrapper ];
buildInputs = [ openssh openssl curl zlib libiconv rustPlatform.rust.rustc.llvm ]
++ (lib.optionals stdenv.isDarwin [ CoreFoundation Security ]);
doCheck = true;
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
sha256 = cfg.sha256;
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
+1 -1
View File
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ jre ];
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
propagatedBuildInputs = [ jre ncurses.dev ] ;
buildInputs = [ makeWrapper ] ;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "12jn50h5jz0ac1vzld2mb94p1dyc8h0mk0hip2wj5xqk1dbzwxl4";
};
buildInputs = [ cpio rsync makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ cpio rsync ];
unpackPhase = ''
${xar}/bin/xar -xf $src
@@ -40,7 +40,8 @@ buildGoModule rec {
'';
subPackages = [ "." ];
buildInputs = [ llvm clang-unwrapped makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ llvm clang-unwrapped ];
propagatedBuildInputs = [ lld avrgcc avrdude openocd gcc-arm-embedded ];
postInstall = ''
+1 -1
View File
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
sha256 = "0nclr3d8ap0y5cg36i7g4ggdqci6m5q27y9f26b57km8p266kcpy";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
# Any packages that depend on the compiler have a transitive
# dependency on the Urn runtime support.
propagatedBuildInputs = [ urn-rt ];