darwin/objc4: use darwin-stubs
This commit is contained in:
parent
193c91233c
commit
8e6d830423
|
@ -1,4 +1,4 @@
|
|||
{ appleDerivation }:
|
||||
{ appleDerivation, darwin-stubs }:
|
||||
|
||||
appleDerivation {
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
@ -14,7 +14,8 @@ appleDerivation {
|
|||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/objc $out/lib
|
||||
ln -s /usr/lib/libobjc.dylib $out/lib/libobjc.dylib
|
||||
cp ${darwin-stubs}/usr/lib/libobjc.A.tbd $out/lib/libobjc.A.tbd
|
||||
ln -s libobjc.A.tbd $out/lib/libobjc.tbd
|
||||
cp runtime/OldClasses.subproj/List.h $out/include/objc/List.h
|
||||
cp runtime/NSObjCRuntime.h $out/include/objc/NSObjCRuntime.h
|
||||
cp runtime/NSObject.h $out/include/objc/NSObject.h
|
||||
|
|
Loading…
Reference in a new issue