summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix
blob: add51a61d3d3ca687739b4909f57640f99f5fd3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ 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
  '';
}