ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
22 lines
434 B
Nix
22 lines
434 B
Nix
{ lib, appleDerivation, developer_cmds }:
|
|
|
|
appleDerivation {
|
|
buildInputs = [ developer_cmds ];
|
|
|
|
installPhase = ''
|
|
export DSTROOT=$out
|
|
export SRCROOT=$PWD
|
|
export OBJROOT=$PWD
|
|
|
|
. ./xcodescripts/install_rpcsvc.sh
|
|
|
|
mv $out/usr/* $out
|
|
rmdir $out/usr/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|