1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix

17 lines
399 B
Nix

{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
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
'';
}