mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
434 B
Nix
23 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;
|
|
};
|
|
}
|