gdrive3 3.9.0 -> 3.9.1 https://github.com/glotlabs/gdrive/releases attrpath: gdrive3 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/applications/networking/gdrive3/default.nix b/pkgs/applications/networking/gdrive3/default.nix index 4e7fea129654..3b3af60e337b 100644 --- a/pkgs/applications/networking/gdrive3/default.nix +++ b/pkgs/applications/networking/gdrive3/default.nix @@ -7,13 +7,13 @@ rustPlatform.buildRustPackage rec { pname = "gdrive"; - version = "3.9.0"; + version = "3.9.1"; src = fetchFromGitHub { owner = "glotlabs"; repo = "gdrive"; rev = version; - hash = "sha256-vWd1sto89U2ZJWZZebPjrbMyBjZMs9buoPEPKocDVnY="; + hash = "sha256-1yJg+rEhKTGXC7mlHxnWGUuAm9/RwhD6/Xg/GBKyQMw="; }; cargoLock = { Received ExitFailure 1 when running Raw command: /nix/store/cs41wvvf98zsgw7vbpfabj5f8d2y0ihz-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A gdrive3 nix build failed. < [[package]] 996c975 < "getrandom 0.1.16", --- > "getrandom", 1019c998 < "getrandom 0.1.16", --- > "getrandom", 1564,1572d1542 < ] < < [[package]] < name = "uuid" < version = "1.2.2" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c" < dependencies = [ < "getrandom 0.2.9", 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=";