snx-rs 2.2.3 -> 2.2.4 https://repology.org/project/snx-rs/versions 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..9fb10f7c807d 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.4"; src = fetchFromGitHub { owner = "ancwrd1"; repo = "snx-rs"; - rev = "v2.2.3"; - hash = "sha256-tBl67uDeYVmVBwi8NQVclfFQ0Sj1dl+hR8Jct1iE2LI="; + rev = "v2.2.4"; + hash = "sha256-uEXitQR/2Fe79PGlmQQdY6aDe5biXJslJDXeImU+EjA="; }; nativeBuildInputs = [ pkg-config ]; Received ExitFailure 1 when running Raw command: /nix/store/y0qaalgy7nk3kvnk09j4466skm8ry55l-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. > version = "0.10.2" > source = "registry+https://github.com/rust-lang/crates.io-index" > checksum = "bb2cc8827d6c0994478a15c53f374f46fbd41bea663d809b14744bc42e6b109c" > dependencies = [ > "yoke", > "zerofrom", > "zerovec-derive", > ] > > [[package]] > name = "zerovec-derive" > version = "0.10.2" > source = "registry+https://github.com/rust-lang/crates.io-index" > checksum = "97cf56601ee5052b4417d90c8755c6683473c926039908196cf35d99f893ebe7" > dependencies = [ > "proc-macro2", > "quote", > "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=";