sqld 0.17.2 -> 0.21.9 https://github.com/libsql/sqld/releases attrpath: sqld 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/servers/sql/sqld/default.nix b/pkgs/servers/sql/sqld/default.nix index 2acb0ec4d368..723c848408dd 100644 --- a/pkgs/servers/sql/sqld/default.nix +++ b/pkgs/servers/sql/sqld/default.nix @@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec { pname = "sqld"; - version = "0.17.2"; + version = "0.21.9"; src = fetchFromGitHub { owner = "libsql"; repo = "sqld"; rev = "v${version}"; - hash = "sha256-KoEscrzkFJnxxJKL/2r4cY0oLpKdQMjFR3daryzrVKQ="; + hash = "sha256-ussvyRlSTkp4SVuPlZwCU++uxKC0yODvHYSLfgBf4z4="; }; 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 sqld nix build failed. > "windows-sys 0.36.1", 5239a5211,5219 > name = "xattr" > version = "0.2.3" > source = "registry+https://github.com/rust-lang/crates.io-index" > checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" > dependencies = [ > "libc", > ] > > [[package]] 5241c5221 < version = "0.13.6" --- > version = "0.13.5" 5243c5223 < checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4" --- > checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd" 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=";