chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / signing-utils / auto-sign-hook.sh
blob6a254cd821236a15990864259d5aa5ccf56d0d97
1 postFixupHooks+=(signDarwinBinariesInAllOutputs)
3 # Uses signingUtils, see definition of autoSignDarwinBinariesHook in
4 # darwin-packages.nix
6 signDarwinBinariesIn() {
7 local dir="$1"
9 if [ ! -d "$dir" ]; then
10 return 0
13 if [ "${darwinDontCodeSign:-}" ]; then
14 return 0
17 echo "signing $dir"
19 while IFS= read -r -d $'\0' f; do
20 signIfRequired "$f"
21 done < <(find "$dir" -type f -print0)
24 # Apply fixup to each output.
25 signDarwinBinariesInAllOutputs() {
26 local output
28 for output in $(getAllOutputNames); do
29 signDarwinBinariesIn "${!output}"
30 done