chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / apple-source-releases / basic_cmds / default.nix
blob7d011d2d8cc86e08688fd7f1a219ba6870d2ad51
1 { lib, appleDerivation, xcbuildHook }:
3 appleDerivation {
4   nativeBuildInputs = [ xcbuildHook ];
6   # These PBXcp calls should be patched in xcbuild to allow them to
7   # automatically be prefixed.
8   patchPhase = ''
9     substituteInPlace basic_cmds.xcodeproj/project.pbxproj \
10       --replace "dstPath = /usr/share/man/man1;" "dstPath = $out/share/man/man1;" \
11       --replace "dstPath = /usr/share/man/man5;" "dstPath = $out/share/man/man5;"
12   '';
14   # temporary install phase until xcodebuild has "install" support
15   installPhase = ''
16     for f in Products/Release/*; do
17       if [ -f $f ]; then
18         install -D $f $out/bin/$(basename $f)
19       fi
20     done
22     for n in 1; do
23       mkdir -p $out/share/man/man$n
24       install */*.$n $out/share/man/man$n
25     done
26   '';
28   meta = {
29     platforms = lib.platforms.darwin;
30     maintainers = with lib.maintainers; [ matthewbauer ];
31   };