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

appleDerivation {
  installPhase = ''
    mkdir -p $out/lib $out/include
    ln -s /usr/lib/dyld $out/lib/dyld
    cp -r include $out/
  '';

  meta = with stdenv.lib; {
    description = "Impure primitive symlinks to the Mac OS native dyld, along with headers";
    maintainers = with maintainers; [ copumpkin ];
    platforms   = platforms.darwin;
    license     = licenses.apsl20;
  };
}