Merge pull request #28646 from obsidiansystems/apple-native-build-inputs

apple misc pkgs: `buildInputs` -> `nativeBuildInputs`

authored by

John Ericson and committed by
GitHub
5790ae3c 0f043d49

+16 -13
+1 -1
pkgs/os-specific/darwin/apple-source-releases/ICU/default.nix
··· 1 1 { stdenv, cctools, appleDerivation }: 2 2 3 3 appleDerivation { 4 - buildInputs = [ cctools ]; 4 + nativeBuildInputs = [ cctools ]; 5 5 6 6 postPatch = '' 7 7 substituteInPlace makefile \
+2 -2
pkgs/os-specific/darwin/apple-source-releases/Libc/825_40_1.nix
··· 3 3 appleDerivation { 4 4 phases = [ "unpackPhase" "installPhase" ]; 5 5 6 - buildInputs = [ ed unifdef ]; 6 + nativeBuildInputs = [ ed unifdef ]; 7 7 8 8 installPhase = '' 9 9 export SRCROOT=$PWD ··· 12 12 export PRIVATE_HEADERS_FOLDER_PATH=include 13 13 bash xcodescripts/headers.sh 14 14 ''; 15 - } 15 + }
+1 -1
pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix
··· 3 3 appleDerivation { 4 4 phases = [ "unpackPhase" "installPhase" ]; 5 5 6 - buildInputs = [ ed unifdef ]; 6 + nativeBuildInputs = [ ed unifdef ]; 7 7 8 8 # TODO: asl.h actually comes from syslog project now 9 9 installPhase = ''
+1 -1
pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
··· 5 5 appleDerivation rec { 6 6 phases = [ "unpackPhase" "installPhase" ]; 7 7 8 - buildInputs = [ cpio ]; 8 + nativeBuildInputs = [ cpio ]; 9 9 10 10 installPhase = '' 11 11 export NIX_ENFORCE_PURITY=
+2 -1
pkgs/os-specific/darwin/apple-source-releases/adv_cmds/default.nix
··· 16 16 }; 17 17 18 18 in appleDerivation { 19 - buildInputs = [ bsdmake perl yacc flex ]; 19 + nativeBuildInputs = [ bsdmake perl yacc flex ]; 20 + buildInputs = [ flex ]; 20 21 21 22 patchPhase = '' 22 23 substituteInPlace BSDmakefile \
+2 -2
pkgs/os-specific/darwin/apple-source-releases/bootstrap_cmds/default.nix
··· 1 1 { stdenv, appleDerivation, yacc, flex }: 2 2 3 3 appleDerivation { 4 - buildInputs = [ yacc flex ]; 4 + nativeBuildInputs = [ yacc flex ]; 5 5 6 6 buildPhase = '' 7 7 cd migcom.tproj ··· 41 41 --replace '/bin/rmdir' "rmdir" \ 42 42 --replace 'C=''${MIGCC}' "C=cc" 43 43 ''; 44 - } 44 + }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix
··· 1 1 { stdenv, appleDerivation, fetchurl, fetchpatch, makeWrapper }: 2 2 3 3 appleDerivation { 4 - buildInputs = [ makeWrapper ]; 4 + nativeBuildInputs = [ makeWrapper ]; 5 5 6 6 patchPhase = '' 7 7 substituteInPlace mk/bsd.prog.mk \ ··· 27 27 for file in $(find . -name '*.c'); do 28 28 obj="$(basename "$file" .c).o" 29 29 objs+=("$obj") 30 - cc -c "$file" -o "$obj" -DDEFSHELLNAME='"sh"' -D__FBSDID=__RCSID -mdynamic-no-pic -g 30 + $CC -c "$file" -o "$obj" -DDEFSHELLNAME='"sh"' -D__FBSDID=__RCSID -mdynamic-no-pic -g 31 31 done 32 - cc "''${objs[@]}" -o bsdmake 32 + $CC "''${objs[@]}" -o bsdmake 33 33 ''; 34 34 35 35 installPhase = ''
+2 -1
pkgs/os-specific/darwin/apple-source-releases/configd/default.nix
··· 3 3 appleDerivation { 4 4 meta.broken = stdenv.cc.nativeLibc; 5 5 6 - buildInputs = [ launchd bootstrap_cmds ppp IOKit eap8021x ]; 6 + nativeBuildInputs = [ bootstrap_cmds ]; 7 + buildInputs = [ launchd ppp IOKit eap8021x ]; 7 8 8 9 propagatedBuildInputs = [ Security ]; 9 10
+2 -1
pkgs/os-specific/darwin/cctools/port.nix
··· 29 29 sha256 = "0l45mvyags56jfi24rawms8j2ihbc45mq7v13pkrrwppghqrdn52"; 30 30 }; 31 31 32 - buildInputs = [ autoconf automake libtool_2 libuuid ] ++ 32 + nativeBuildInputs = [ autoconf automake libtool_2 ]; 33 + buildInputs = [ libuuid ] ++ 33 34 # Only need llvm and clang if the stdenv isn't already clang-based (TODO: just make a stdenv.cc.isClang) 34 35 stdenv.lib.optionals (!stdenv.isDarwin) [ llvm clang ] ++ 35 36 stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ];