nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix
2018-05-06 07:20:03 +00:00

15 lines
353 B
Nix

{ stdenv, appleDerivation }:
appleDerivation {
installPhase = ''
substituteInPlace xcodescripts/install_files.sh \
--replace "/usr/local/" "/" \
--replace "/usr/" "/" \
--replace '-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"' "" \
--replace "ln -h" "ln -n"
export DSTROOT=$out
sh xcodescripts/install_files.sh
'';
}