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