mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +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>
14 lines
319 B
Nix
14 lines
319 B
Nix
{ appleDerivation', stdenvNoCC, ed, unifdef }:
|
|
|
|
appleDerivation' stdenvNoCC {
|
|
nativeBuildInputs = [ ed unifdef ];
|
|
|
|
installPhase = ''
|
|
export SRCROOT=$PWD
|
|
export DSTROOT=$out
|
|
export PUBLIC_HEADERS_FOLDER_PATH=include
|
|
export PRIVATE_HEADERS_FOLDER_PATH=include
|
|
bash xcodescripts/headers.sh
|
|
'';
|
|
}
|