diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-01-18 18:00:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 18:00:55 +0000 |
commit | dc4a7c97b018477201ebbdb78903a323bd65a61d (patch) | |
tree | 6a67889ba4e885f85ac7d83af8e570ed87d3a080 /doc/stdenv | |
parent | 5d5d432ec4b8ae16b612f0c02d00130ca9448d71 (diff) | |
parent | 3df632c2fba47c5d477f498b02add5c7aa2126f3 (diff) |
Merge master into staging-next
Diffstat (limited to 'doc/stdenv')
-rw-r--r-- | doc/stdenv/stdenv.chapter.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index c9c30fde172d..a948c6757c4a 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -475,11 +475,11 @@ A script to be run by `maintainers/scripts/update.nix` when the package is match ```nix passthru.updateScript = writeScript "update-zoom-us" '' #!/usr/bin/env nix-shell - #!nix-shell -i bash -p curl pcre common-updater-scripts + #!nix-shell -i bash -p curl pcre2 common-updater-scripts set -eu -o pipefail - version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcregrep -o1 '/(([0-9]\.?)+)/')" + version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcre2grep -o1 '/(([0-9]\.?)+)/')" update-source-version zoom-us "$version" ''; ``` |