forked from mirrors/nixpkgs
17 lines
422 B
Nix
17 lines
422 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|