diff options
Diffstat (limited to 'pkgs/applications/networking')
4 files changed, 4 insertions, 10 deletions
diff --git a/pkgs/applications/networking/browsers/palemoon/bin.nix b/pkgs/applications/networking/browsers/palemoon/bin.nix index 1052bb750102b..8a67dc1774641 100644 --- a/pkgs/applications/networking/browsers/palemoon/bin.nix +++ b/pkgs/applications/networking/browsers/palemoon/bin.nix @@ -184,10 +184,7 @@ stdenv.mkDerivation (finalAttrs: { )" for variant in gtk3 gtk2; do - # The script will not perform an update when the version attribute is up to date from previous platform run - # We need to clear it before each run - update-source-version palemoon-bin 0 "${lib.fakeHash}" --source-key="sources.$variant" - update-source-version palemoon-bin "$version" --source-key="sources.$variant" + update-source-version palemoon-bin "$version" --ignore-same-version --source-key="sources.$variant" done ''; }; diff --git a/pkgs/applications/networking/browsers/tor-browser/update.nix b/pkgs/applications/networking/browsers/tor-browser/update.nix index 4edb644d59f91..04b69d8ce208c 100644 --- a/pkgs/applications/networking/browsers/tor-browser/update.nix +++ b/pkgs/applications/networking/browsers/tor-browser/update.nix @@ -59,7 +59,6 @@ in writeShellScript "update-${pname}" '' sha256=$(grep "${name}-$arch-$version.tar.xz" "$HOME/shasums" | cut -d" " -f1) hash=$(nix hash to-sri --type sha256 "$sha256") - update-source-version "${pname}" "0" "sha256-${lib.fakeSha256}" --source-key="sources.$platform" - update-source-version "${pname}" "$version" "$hash" --source-key="sources.$platform" + update-source-version "${pname}" "$version" "$hash" --ignore-same-version --source-key="sources.$platform" done '' diff --git a/pkgs/applications/networking/browsers/vivaldi/update-vivaldi.sh b/pkgs/applications/networking/browsers/vivaldi/update-vivaldi.sh index 6e1d68f13994b..994257889ee69 100755 --- a/pkgs/applications/networking/browsers/vivaldi/update-vivaldi.sh +++ b/pkgs/applications/networking/browsers/vivaldi/update-vivaldi.sh @@ -8,8 +8,7 @@ version=$(curl -sS https://vivaldi.com/download/ | sed -rne 's/.*vivaldi-stable_ update_hash() { url="https://downloads.vivaldi.com/stable/vivaldi-stable_$version-1_$2.deb" hash=$(nix hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$url")) - update-source-version vivaldi 0 sha256-BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB= --system=$1 - update-source-version vivaldi "$version" "$hash" --system=$1 + update-source-version vivaldi "$version" "$hash" --system=$1 --ignore-same-version } update_hash aarch64-linux arm64 diff --git a/pkgs/applications/networking/instant-messengers/feishu/default.nix b/pkgs/applications/networking/instant-messengers/feishu/default.nix index 4637a0d845b4a..67d875ca7a94b 100644 --- a/pkgs/applications/networking/instant-messengers/feishu/default.nix +++ b/pkgs/applications/networking/instant-messengers/feishu/default.nix @@ -220,8 +220,7 @@ stdenv.mkDerivation { new_version=$(echo $package_info | jq -r '.data.version_number' | sed -n 's/.*@V//p') sha256_hash=$(nix-prefetch-url $update_link) sri_hash=$(nix hash to-sri --type sha256 $sha256_hash) - update-source-version feishu 0 ${lib.fakeSha256} --system=$platform --source-key="sources.$platform" - update-source-version feishu $new_version $sri_hash $update_link --system=$platform --source-key="sources.$platform" + update-source-version feishu $new_version $sri_hash $update_link --system=$platform --ignore-same-version --source-key="sources.$platform" done ''; }; |