snx-rs 2.2.0 -> 2.2.2 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 65bf8ee2d104..d647494f7902 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.0"; + version = "2.2.2"; src = fetchFromGitHub { owner = "ancwrd1"; repo = "snx-rs"; - rev = "v2.2.0"; - hash = "sha256-9aBJM20+G1U2NuJXBmax50o3M/lwRpLeqdcHCA28iAw="; + rev = "v2.2.2"; + hash = "sha256-JmulM+odYDcj7aOWDVnR9/GUq8RquL9FUByrK5qGulk="; }; nativeBuildInputs = [ pkg-config ]; Received ExitFailure 1 when running Raw command: /nix/store/03a4f9rij2z4mmwprlbip3mrnnfaw0yd-nix-2.18.2/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", 3993a3971 > "zvariant_utils", 3998c3976 < version = "2.0.0" --- > version = "1.1.1" 4000c3978 < checksum = "fc242db087efc22bd9ade7aa7809e4ba828132edc312871584a6b4391bdf8786" --- > checksum = "75fa7291bdd68cd13c4f97cc9d78cbf16d96305856dfc7ac942aeff4c2de7d5a" 4004c3982 < "syn 2.0.66", --- > "syn 1.0.109", 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=";