gir-rs 0.17.1 -> 0.18.1 https://github.com/gtk-rs/gir/releases attrpath: gir-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 [updateScript] [updateScript] skipping because derivation has no updateScript [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/tools/gir/default.nix b/pkgs/development/tools/gir/default.nix index afdfbda2c54e..1d33b953aa36 100644 --- a/pkgs/development/tools/gir/default.nix +++ b/pkgs/development/tools/gir/default.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, rustPlatform }: let - version = "0.17.1"; + version = "0.18.1"; in rustPlatform.buildRustPackage { pname = "gir"; @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage { owner = "gtk-rs"; repo = "gir"; rev = version; - sha256 = "sha256-WpTyT62bykq/uwzBFQXeJ1HxR1a2vKmtid8YAzk7J+Q="; + sha256 = "sha256-D3F9MfgKXQlkaZhzxkwOPk71eTnqDfAL2mUvLP0fxhw="; }; cargoLock = { Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A gir-rs nix build failed. 201c253 < checksum = "56c59d8dd7d0dcbc6428bf7aa2f0e823e26e43b3c9aca15bbc9475d23e5fa12b" --- > checksum = "729bfd096e40da9c001f778f5cdecbd2957929a24e10e5883d9392220a751581" 210a263,268 > name = "unicode-ident" > version = "1.0.6" > source = "registry+https://github.com/rust-lang/crates.io-index" > checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" > > [[package]] 218c276 < version = "0.8.15" --- > version = "0.8.4" 220c278 < checksum = "5a56c84a8ccd4258aed21c92f70c0f6dea75356b6892ae27c24139da456f9336" --- > checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3" 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=";