forked from mirrors/nixpkgs
7bba32a069
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>
33 lines
669 B
Nix
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
|
|
'';
|
|
}
|