snx-rs 2.2.3 -> 2.2.8 https://github.com/ancwrd1/snx-rs/releases attrpath: snx-rs Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/by-name/sn/snx-rs/package.nix b/pkgs/by-name/sn/snx-rs/package.nix index 29468c2f669f..aa725af9fd6c 100644 --- a/pkgs/by-name/sn/snx-rs/package.nix +++ b/pkgs/by-name/sn/snx-rs/package.nix @@ -1,13 +1,13 @@ { fetchFromGitHub, rustPlatform, lib, pkg-config, openssl, glib, atk, gtk3, libsoup, webkitgtk_4_1 }: rustPlatform.buildRustPackage { pname = "snx-rs"; - version = "2.2.3"; + version = "2.2.8"; src = fetchFromGitHub { owner = "ancwrd1"; repo = "snx-rs"; - rev = "v2.2.3"; - hash = "sha256-tBl67uDeYVmVBwi8NQVclfFQ0Sj1dl+hR8Jct1iE2LI="; + rev = "v2.2.8"; + hash = "sha256-bAweOMg+KqCvaHj7BMX6Ukzo34yli97ZpzWEBAU33Q0="; }; nativeBuildInputs = [ pkg-config ]; Received ExitFailure 1 when running Raw command: /nix/store/pf3c5fg5jb2mfa3ysmayk4xv2r9wb8iw-nix-2.18.5/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A snx-rs nix build failed. > source = "registry+https://github.com/rust-lang/crates.io-index" > checksum = "7234f0d811589db492d16893e3f21e8e2fd282e6d01b0cddee310322062cc200" > dependencies = [ > "proc-macro2", > "quote", > "syn 1.0.109", > ] > > [[package]] > name = "zvariant_utils" > version = "2.0.0" 3806c4248 < checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" --- > checksum = "fc242db087efc22bd9ade7aa7809e4ba828132edc312871584a6b4391bdf8786" 3810c4252 < "syn 2.0.72", --- > "syn 2.0.66", ERROR: cargoHash or cargoSha256 is out of date Cargo.lock is not the same in /build/cargo-vendor-dir To fix the issue: 1. Set cargoHash/cargoSha256 to an empty string: `cargoHash = "";` 2. Build the derivation and wait for it to fail with a hash mismatch 3. Copy the "got: sha256-..." value back into the cargoHash field You should have: cargoHash = "sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=";