mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
25 lines
494 B
Nix
25 lines
494 B
Nix
{ stdenv, appleDerivation, developer_cmds }:
|
|
|
|
appleDerivation rec {
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
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 stdenv.lib; {
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|