3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libplatform/default.nix
John Ericson 7bba32a069 darwin packages: Get ready for cross
If things build fine with `stdenvNoCC`, let them use that. If tools
might be prefixed, prepare for that, either by directly splicing or just
using the env vars provided by the wrapper setup-hooks.

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-05-11 16:07:01 -04:00

33 lines
669 B
Nix

{ appleDerivation', stdenvNoCC }:
appleDerivation' stdenvNoCC {
installPhase = ''
mkdir $out
cp -r include $out/include
'';
appleHeaders = ''
_simple.h
libkern/OSAtomic.h
libkern/OSAtomicDeprecated.h
libkern/OSAtomicQueue.h
libkern/OSCacheControl.h
libkern/OSSpinLockDeprecated.h
os/alloc_once_impl.h
os/base.h
os/base_private.h
os/internal/atomic.h
os/internal/crashlog.h
os/internal/internal_shared.h
os/lock.h
os/lock_private.h
os/once_private.h
os/semaphore_private.h
platform/compat.h
platform/introspection_private.h
platform/string.h
setjmp.h
ucontext.h
'';
}