diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2024-06-09 19:46:03 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2024-06-09 20:33:23 +0200 |
commit | 0421c816badf8502a3abd6a82573b8d147690a44 (patch) | |
tree | e1286259aedb05a82fb170dbf955a9466960e957 /pkgs/by-name/db | |
parent | 4627e4849e6df96d1b18b14144d39256e606387e (diff) |
treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice. - with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
Diffstat (limited to 'pkgs/by-name/db')
-rwxr-xr-x | pkgs/by-name/db/dbeaver-bin/update.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/by-name/db/dbeaver-bin/update.sh b/pkgs/by-name/db/dbeaver-bin/update.sh index ad09144f9a4b0..ad8461e5a2eb8 100755 --- a/pkgs/by-name/db/dbeaver-bin/update.sh +++ b/pkgs/by-name/db/dbeaver-bin/update.sh @@ -20,6 +20,5 @@ do prefetch=$(nix-prefetch-url "https://github.com/dbeaver/dbeaver/releases/download/$latestVersion/dbeaver-ce-$latestVersion-$2") hash=$(nix-hash --type sha256 --to-sri $prefetch) - update-source-version dbeaver-bin 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=$1 - update-source-version dbeaver-bin $latestVersion $hash --system=$1 + update-source-version dbeaver-bin $latestVersion $hash --system=$1 --ignore-same-version done |