nixpkgs/pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix
John Ericson 7bba32a069 darwin packages: Get ready for cross
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>
2021-05-11 16:07:01 -04:00

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