summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix
blob: 789e536b8a7f1ac7ecc406a9376d0bbbc7ea4bd9 (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
40
41
42
43
44
45
46
47
48
49
50
{ appleDerivation', stdenvNoCC }:

appleDerivation' stdenvNoCC {
  installPhase = ''
    substituteInPlace xcodescripts/install_files.sh \
      --replace "/usr/local/" "/" \
      --replace "/usr/" "/" \
      --replace '-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"' "" \
      --replace "ln -h" "ln -n"

    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
  '';
}