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:
commit
51b0d7832e
1 changed files with 3 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue