mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
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>
27 lines
593 B
Nix
27 lines
593 B
Nix
{ appleDerivation', stdenvNoCC }:
|
|
|
|
appleDerivation' stdenvNoCC {
|
|
# No clue why the same file has two different names. Ask Apple!
|
|
installPhase = ''
|
|
mkdir -p $out/include/ $out/include/servers
|
|
cp liblaunch/*.h $out/include
|
|
|
|
cp liblaunch/bootstrap.h $out/include/servers
|
|
cp liblaunch/bootstrap.h $out/include/servers/bootstrap_defs.h
|
|
'';
|
|
|
|
appleHeaders = ''
|
|
bootstrap.h
|
|
bootstrap_priv.h
|
|
launch.h
|
|
launch_internal.h
|
|
launch_priv.h
|
|
reboot2.h
|
|
servers/bootstrap.h
|
|
servers/bootstrap_defs.h
|
|
vproc.h
|
|
vproc_internal.h
|
|
vproc_priv.h
|
|
'';
|
|
}
|