apple misc pkgs: buildInputs
-> nativeBuildInputs
This commit is contained in:
parent
42e639066b
commit
7a22c01b54
@ -1,7 +1,7 @@
|
||||
{ stdenv, cctools, appleDerivation }:
|
||||
|
||||
appleDerivation {
|
||||
buildInputs = [ cctools ];
|
||||
nativeBuildInputs = [ cctools ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace makefile \
|
||||
|
@ -3,7 +3,7 @@
|
||||
appleDerivation {
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
buildInputs = [ ed unifdef ];
|
||||
nativeBuildInputs = [ ed unifdef ];
|
||||
|
||||
installPhase = ''
|
||||
export SRCROOT=$PWD
|
||||
|
@ -3,7 +3,7 @@
|
||||
appleDerivation {
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
buildInputs = [ ed unifdef ];
|
||||
nativeBuildInputs = [ ed unifdef ];
|
||||
|
||||
# TODO: asl.h actually comes from syslog project now
|
||||
installPhase = ''
|
||||
|
@ -5,7 +5,7 @@
|
||||
appleDerivation rec {
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
buildInputs = [ cpio ];
|
||||
nativeBuildInputs = [ cpio ];
|
||||
|
||||
installPhase = ''
|
||||
export NIX_ENFORCE_PURITY=
|
||||
|
@ -16,7 +16,8 @@ let recentAdvCmds = fetchzip {
|
||||
};
|
||||
|
||||
in appleDerivation {
|
||||
buildInputs = [ bsdmake perl yacc flex ];
|
||||
nativeBuildInputs = [ bsdmake perl yacc flex ];
|
||||
buildInputs = [ flex ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace BSDmakefile \
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, appleDerivation, yacc, flex }:
|
||||
|
||||
appleDerivation {
|
||||
buildInputs = [ yacc flex ];
|
||||
nativeBuildInputs = [ yacc flex ];
|
||||
|
||||
buildPhase = ''
|
||||
cd migcom.tproj
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, appleDerivation, fetchurl, fetchpatch, makeWrapper }:
|
||||
|
||||
appleDerivation {
|
||||
buildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace mk/bsd.prog.mk \
|
||||
@ -27,9 +27,9 @@ appleDerivation {
|
||||
for file in $(find . -name '*.c'); do
|
||||
obj="$(basename "$file" .c).o"
|
||||
objs+=("$obj")
|
||||
cc -c "$file" -o "$obj" -DDEFSHELLNAME='"sh"' -D__FBSDID=__RCSID -mdynamic-no-pic -g
|
||||
$CC -c "$file" -o "$obj" -DDEFSHELLNAME='"sh"' -D__FBSDID=__RCSID -mdynamic-no-pic -g
|
||||
done
|
||||
cc "''${objs[@]}" -o bsdmake
|
||||
$CC "''${objs[@]}" -o bsdmake
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -3,7 +3,8 @@
|
||||
appleDerivation {
|
||||
meta.broken = stdenv.cc.nativeLibc;
|
||||
|
||||
buildInputs = [ launchd bootstrap_cmds ppp IOKit eap8021x ];
|
||||
nativeBuildInputs = [ bootstrap_cmds ];
|
||||
buildInputs = [ launchd ppp IOKit eap8021x ];
|
||||
|
||||
propagatedBuildInputs = [ Security ];
|
||||
|
||||
|
@ -29,7 +29,8 @@ let
|
||||
sha256 = "0l45mvyags56jfi24rawms8j2ihbc45mq7v13pkrrwppghqrdn52";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libtool_2 libuuid ] ++
|
||||
nativeBuildInputs = [ autoconf automake libtool_2 ];
|
||||
buildInputs = [ libuuid ] ++
|
||||
# Only need llvm and clang if the stdenv isn't already clang-based (TODO: just make a stdenv.cc.isClang)
|
||||
stdenv.lib.optionals (!stdenv.isDarwin) [ llvm clang ] ++
|
||||
stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ];
|
||||
|
Loading…
Reference in New Issue
Block a user