summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix
blob: 46e9e592ddc690b1b399784d6b72a8d135a8c022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ appleDerivation }:

appleDerivation {
  dontConfigure = true;
  dontBuild = true;
  installPhase = ''
    mkdir -p $out/include/dispatch $out/include/os

    # Move these headers so CF can find <os/voucher_private.h>
    mv private/voucher*.h  $out/include/os
    cp -r private/*.h  $out/include/dispatch

    cp -r dispatch/*.h $out/include/dispatch
    cp -r os/object*.h  $out/include/os
  '';
}