forked from mirrors/nixpkgs
7bba32a069
If things build fine with `stdenvNoCC`, let them use that. If tools might be prefixed, prepare for that, either by directly splicing or just using the env vars provided by the wrapper setup-hooks. Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
17 lines
437 B
Nix
17 lines
437 B
Nix
{ lib, appleDerivation', stdenvNoCC }:
|
|
|
|
appleDerivation' stdenvNoCC {
|
|
installPhase = ''
|
|
mkdir -p $out/lib $out/include
|
|
ln -s /usr/lib/dyld $out/lib/dyld
|
|
cp -r include $out/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Impure primitive symlinks to the Mac OS native dyld, along with headers";
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|