Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,34 @@ appleDerivation {
cp include/* $out/include/CommonCrypto
'';

appleHeaders = ''
CommonCrypto/CommonBaseXX.h
CommonCrypto/CommonBigNum.h
CommonCrypto/CommonCMACSPI.h
CommonCrypto/CommonCRC.h
CommonCrypto/CommonCrypto.h
CommonCrypto/CommonCryptoError.h
CommonCrypto/CommonCryptoPriv.h
CommonCrypto/CommonCryptor.h
CommonCrypto/CommonCryptorSPI.h
CommonCrypto/CommonDH.h
CommonCrypto/CommonDigest.h
CommonCrypto/CommonDigestSPI.h
CommonCrypto/CommonECCryptor.h
CommonCrypto/CommonHMAC.h
CommonCrypto/CommonHMacSPI.h
CommonCrypto/CommonKeyDerivation.h
CommonCrypto/CommonKeyDerivationSPI.h
CommonCrypto/CommonNumerics.h
CommonCrypto/CommonRSACryptor.h
CommonCrypto/CommonRandom.h
CommonCrypto/CommonRandomSPI.h
CommonCrypto/CommonSymmetricKeywrap.h
CommonCrypto/aes.h
CommonCrypto/lionCompat.h
CommonCrypto/module.modulemap
'';

meta = with lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ appleDerivation {
cp ${Libc_old}/include/libkern/OSAtomic.h $out/include/libkern
cp ${Libc_old}/include/libkern/OSCacheControl.h $out/include/libkern
'';

appleHeaders = builtins.readFile ./headers.txt;
}
138 changes: 138 additions & 0 deletions pkgs/os-specific/darwin/apple-source-releases/Libc/headers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
CrashReporterClient.h
NSSystemDirectories.h
_locale.h
_types.h
_types/_intmax_t.h
_types/_nl_item.h
_types/_uint16_t.h
_types/_uint32_t.h
_types/_uint64_t.h
_types/_uint8_t.h
_types/_uintmax_t.h
_types/_wctrans_t.h
_types/_wctype_t.h
_wctype.h
_xlocale.h
aio.h
alloca.h
ar.h
arpa/ftp.h
arpa/inet.h
arpa/nameser_compat.h
arpa/telnet.h
arpa/tftp.h
asl.h
assert.h
bitstring.h
cpio.h
crt_externs.h
ctype.h
db.h
dirent.h
disktab.h
err.h
errno.h
execinfo.h
fcntl.h
fmtmsg.h
fnmatch.h
fsproperties.h
fstab.h
fts.h
ftw.h
get_compat.h
getopt.h
glob.h
inttypes.h
iso646.h
langinfo.h
libc.h
libc_private.h
libgen.h
libkern/OSAtomic.h
libkern/OSCacheControl.h
libproc.h
limits.h
locale.h
malloc/malloc.h
memory.h
monetary.h
monitor.h
mpool.h
msgcat.h
ndbm.h
nl_types.h
nlist.h
os/assumes.h
os/debug_private.h
paths.h
poll.h
printf.h
protocols/routed.h
protocols/rwhod.h
protocols/talkd.h
protocols/timed.h
pthread.h
pthread_impl.h
pthread_spis.h
pthread_workqueue.h
ranlib.h
readpassphrase.h
regex.h
runetype.h
sched.h
search.h
secure/_common.h
secure/_stdio.h
secure/_string.h
semaphore.h
setjmp.h
sgtty.h
signal.h
spawn.h
stab.h
standards.h
stddef.h
stdint.h
stdio.h
stdlib.h
strhash.h
string.h
stringlist.h
strings.h
struct.h
sys/acl.h
sys/rbtree.h
sys/statvfs.h
sysexits.h
syslog.h
tar.h
termios.h
time.h
timeconv.h
ttyent.h
tzfile.h
ucontext.h
ulimit.h
unistd.h
util.h
utime.h
utmpx.h
utmpx_thread.h
vis.h
wchar.h
wctype.h
wordexp.h
xlocale.h
xlocale/__wctype.h
xlocale/_ctype.h
xlocale/_inttypes.h
xlocale/_langinfo.h
xlocale/_monetary.h
xlocale/_regex.h
xlocale/_stdio.h
xlocale/_stdlib.h
xlocale/_string.h
xlocale/_time.h
xlocale/_wchar.h
xlocale/_wctype.h
36 changes: 36 additions & 0 deletions pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,40 @@ appleDerivation {
export DSTROOT=$out
sh xcodescripts/install_files.sh
'';

appleHeaders = ''
aliasdb.h
bootparams.h
configuration_profile.h
grp.h
ifaddrs.h
ils.h
kvbuf.h
libinfo.h
libinfo_muser.h
membership.h
membershipPriv.h
netdb.h
netdb_async.h
ntsid.h
printerdb.h
pwd.h
rpc/auth.h
rpc/auth_unix.h
rpc/clnt.h
rpc/pmap_clnt.h
rpc/pmap_prot.h
rpc/pmap_rmt.h
rpc/rpc.h
rpc/rpc_msg.h
rpc/svc.h
rpc/svc_auth.h
rpc/types.h
rpc/xdr.h
rpcsvc/yp_prot.h
rpcsvc/ypclnt.h
si_data.h
si_module.h
thread_data.h
'';
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ appleDerivation {
ln -s libresolv.9.dylib $out/lib/libresolv.dylib
'';

appleHeaders = builtins.readFile ./headers.txt;

meta = with lib; {
description = "The Mac OS libc/libSystem (tapi library with pure headers)";
maintainers = with maintainers; [ copumpkin gridaphobe ];
Expand Down
Loading