0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

mattermost-desktop: fix version matching in the update script (#380935)

This commit is contained in:
Sandro 2025-02-10 21:39:56 +01:00 committed by GitHub
commit 51b0d7832e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,7 +86,9 @@ buildNpmPackage rec {
# Invoking with `--version` insists on being able to write to a log file.
command = "env HOME=/tmp ${meta.mainProgram} --version";
};
updateScript = nix-update-script { };
updateScript = nix-update-script {
extraArgs = [ "--version-regex=^(\\d+\\.\\d+\\.\\d+)$" ];
};
};
meta = {