From 2d092f4156a78c8767d083ef91ee355a3a71d72f Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Wed, 2 Jul 2025 18:54:40 +0200 Subject: [PATCH 1/2] positron-bin: fixed update script --- pkgs/by-name/po/positron-bin/update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/po/positron-bin/update.sh b/pkgs/by-name/po/positron-bin/update.sh index 76c16930fc01..6424263fa45b 100755 --- a/pkgs/by-name/po/positron-bin/update.sh +++ b/pkgs/by-name/po/positron-bin/update.sh @@ -18,33 +18,33 @@ fi # Update Darwin hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${current_version}.dmg" \ + "https://cdn.posit.co/positron/releases/mac/universal/Positron-${current_version}-universal.dmg" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${new_version}.dmg" \ + "https://cdn.posit.co/positron/releases/mac/universal/Positron-${new_version}-universal.dmg" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix # Update Linux x86_64 hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${current_version}-x64.deb" \ + "https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${current_version}-x64.deb" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${new_version}-x64.deb" \ + "https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${new_version}-x64.deb" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix # Update Linux aarch64 hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/arm64/Positron-${current_version}-arm64.deb" \ + "https://cdn.posit.co/positron/releases/deb/arm64/Positron-${current_version}-arm64.deb" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/arm64/Positron-${new_version}-arm64.deb" \ + "https://cdn.posit.co/positron/releases/deb/arm64/Positron-${new_version}-arm64.deb" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix From 6c48b9cbe5bfc05501397caa0a36f934f82c77e1 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Wed, 2 Jul 2025 18:54:49 +0200 Subject: [PATCH 2/2] positron-bin: 2025.07.0-112 -> 2025.07.0-204 --- pkgs/by-name/po/positron-bin/package.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/po/positron-bin/package.nix b/pkgs/by-name/po/positron-bin/package.nix index 11817b657faf..42fa5e7100e9 100644 --- a/pkgs/by-name/po/positron-bin/package.nix +++ b/pkgs/by-name/po/positron-bin/package.nix @@ -22,7 +22,7 @@ }: let pname = "positron-bin"; - version = "2025.07.0-112"; + version = "2025.07.0-204"; in stdenv.mkDerivation { inherit version pname; @@ -30,18 +30,18 @@ stdenv.mkDerivation { src = if stdenv.hostPlatform.isDarwin then fetchurl { - url = "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${version}.dmg"; - hash = "sha256-vprBr+0XBndCiFTauiOa3gjOlxj/w2ZhQlXNJdly7oU="; + url = "https://cdn.posit.co/positron/releases/mac/universal/Positron-${version}-universal.dmg"; + hash = "sha256-f1EQw6fKH4pgVG7+YcLPv6FawJ2TN507hYLD0pn+PlM="; } else if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { - url = "https://cdn.posit.co/positron/dailies/deb/arm64/Positron-${version}-arm64.deb"; - hash = "sha256-TYFBW3sRpgsdVC66WB9SYNsmAxGCq/3gQSexOVtvGZs="; + url = "https://cdn.posit.co/positron/releases/deb/arm64/Positron-${version}-arm64.deb"; + hash = "sha256-SxjQPZ2wUmSIYOxBB6AS6Ue7ajXzMkY32nHdkZkNhBA="; } else fetchurl { - url = "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${version}-x64.deb"; - hash = "sha256-yueD2PEBXiG8FPghRWvBS6TPtyZ1Q8utKOS8QDMNlk8="; + url = "https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${version}-x64.deb"; + hash = "sha256-f27LC4+SXnkyePw/fw8r9JYsOQKVoIiFkAet/QtwbNg="; }; buildInputs =