From e3a9a74a5e3e7fdcdf71a2b79dd7a74dddc7a229 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 21 Aug 2025 19:41:57 -0400 Subject: [PATCH] cargo-tauri_1: 1.8.1 -> 1.6.6 This appears to be a downgrade, but is actually a upgrade! Previously this package tracked the main `tauri` crate, and not the actual CLI. Oops. Diff: https://github.com/tauri-apps/tauri/compare/tauri-v1.8.1...tauri-cli-v1.6.6 Changelog: https://github.com/tauri-apps/tauri/releases/tag/tauri-cli-v1.6.6 --- pkgs/by-name/ca/cargo-tauri_1/package.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/ca/cargo-tauri_1/package.nix b/pkgs/by-name/ca/cargo-tauri_1/package.nix index 0facf494764b..fd19b708fdcd 100644 --- a/pkgs/by-name/ca/cargo-tauri_1/package.nix +++ b/pkgs/by-name/ca/cargo-tauri_1/package.nix @@ -2,7 +2,6 @@ lib, stdenv, bzip2, - fetchFromGitHub, pkg-config, rustPlatform, xz, @@ -11,28 +10,25 @@ }: cargo-tauri.overrideAttrs ( - newAttrs: oldAttrs: { - version = "1.8.1"; + finalAttrs: oldAttrs: { + version = "1.6.6"; - src = fetchFromGitHub { - owner = "tauri-apps"; - repo = "tauri"; - rev = "tauri-v${newAttrs.version}"; - hash = "sha256-z8dfiLghN6m95PLCMDgpBMNo+YEvvsGN9F101fAcVF4="; + src = oldAttrs.src.override { + hash = "sha256-UE/mJ0WdbVT4E1YuUCtu80UB+1WR+KRWs+4Emy3Nclc="; }; # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at # https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202 - sourceRoot = "${newAttrs.src.name}/tooling/cli"; + sourceRoot = "${finalAttrs.src.name}/tooling/cli"; cargoDeps = rustPlatform.fetchCargoVendor { - inherit (newAttrs) + inherit (finalAttrs) pname version src sourceRoot ; - hash = "sha256-t5sR02qC06H7A2vukwyZYKA2XMVUzJrgIOYuNSf42mE="; + hash = "sha256-kAaq6Kam3e5n8569Y4zdFEiClI8q97XFX1hBD7NkUqw="; }; nativeBuildInputs = oldAttrs.nativeBuildInputs or [ ] ++ [ pkg-config ];