blob: e0b25d27778a9a036fe716b0c0338f631b78ffe7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib, appleDerivation', stdenvNoCC }:
appleDerivation' stdenvNoCC (finalAttrs: {
installPhase = ''
mkdir $out
cp -r include $out/include
test -d private && cp -r private/* $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
'' + (
if lib.versionAtLeast finalAttrs.version "254.40.4" then ''
string_x86.h
ucontext.h
'' else ''
ucontext.h
''
);
})
|