teamspeak6-client: 6.0.0-beta3.2 -> 6.0.0-beta3.3, fix update script (#469432)
This commit is contained in:
@@ -31,11 +31,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "teamspeak6-client";
|
||||
version = "6.0.0-beta3.2";
|
||||
version = "6.0.0-beta3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://files.teamspeak-services.com/pre_releases/client/${finalAttrs.version}/teamspeak-client.tar.gz";
|
||||
hash = "sha256-sZrYGonBw3BgUSExovs8GW5E54vhr3i/VR9eH9/qjWM=";
|
||||
hash = "sha256-ElPfy3A/wazuEkB1D2UuoijLMpKfQTmKc1FRfgWh8po=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
@@ -114,7 +114,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
updateScript = ./update.sh;
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = {
|
||||
description = "TeamSpeak voice communication tool (beta version)";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell --pure -i bash -p bash curl cacert ripgrep nix nix-update
|
||||
#!nix-shell --pure -i bash -p bash curl cacert ripgrep nix nix-update git
|
||||
set -euo pipefail
|
||||
|
||||
latest_version=$(
|
||||
@@ -18,4 +18,4 @@ if [[ "$latest_version" == "$current_version" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
nix-update teamspeak6-client --version $latest_version
|
||||
nix-update teamspeak6-client --version "$latest_version"
|
||||
|
||||
Reference in New Issue
Block a user