diff --git a/pkgs/by-name/ar/argyllcms/package.nix b/pkgs/by-name/ar/argyllcms/package.nix index 2b04d47a936b..d72d87f157a6 100644 --- a/pkgs/by-name/ar/argyllcms/package.nix +++ b/pkgs/by-name/ar/argyllcms/package.nix @@ -171,13 +171,13 @@ stdenv.mkDerivation rec { passthru = { updateScript = writeScript "update-argyllcms" '' #!/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 # Expect the text in format of 'Current Version 3.0.1 (19th October 2023)' new_version="$(curl -s https://www.argyllcms.com/ | - pcregrep -o1 '>Current Version ([0-9.]+) ')" + pcre2grep -o1 '>Current Version ([0-9.]+) ')" update-source-version ${pname} "$new_version" ''; };