2021-01-25 09:26:54 +01:00
|
|
|
{ lib, appleDerivation, developer_cmds }:
|
2016-11-10 05:28:37 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
appleDerivation {
|
2016-11-10 05:28:37 +01:00
|
|
|
buildInputs = [ developer_cmds ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
export DSTROOT=$out
|
|
|
|
export SRCROOT=$PWD
|
|
|
|
export OBJROOT=$PWD
|
|
|
|
|
|
|
|
. ./xcodescripts/install_rpcsvc.sh
|
|
|
|
|
|
|
|
mv $out/usr/* $out
|
|
|
|
rmdir $out/usr/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-11-10 05:28:37 +01:00
|
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
license = licenses.apsl20;
|
|
|
|
};
|
|
|
|
}
|