libdeltachat 1.140.2 -> 1.141.1 https://github.com/deltachat/deltachat-core-rust/releases attrpath: libdeltachat 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/development/libraries/libdeltachat/default.nix b/pkgs/development/libraries/libdeltachat/default.nix index 4f303ba3ff4b..593034b0af03 100644 --- a/pkgs/development/libraries/libdeltachat/default.nix +++ b/pkgs/development/libraries/libdeltachat/default.nix @@ -31,13 +31,13 @@ let }; in stdenv.mkDerivation rec { pname = "libdeltachat"; - version = "1.140.2"; + version = "1.141.1"; src = fetchFromGitHub { owner = "deltachat"; repo = "deltachat-core-rust"; rev = "v${version}"; - hash = "sha256-BSbvgKiI89B+nxp5McBKTJAwgePt27C1QvSQLhTL7pQ="; + hash = "sha256-//bGVEo4Hw8ZbgLMo0ueYoEvBEssCe4owkzJwg7jvmI="; }; patches = [ Received ExitFailure 1 when running Raw command: /nix/store/1rkn4zznmzlzqihnvwz9phqjnifa099k-nix-2.18.4/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A libdeltachat nix build failed. 1885c1886 < "curve25519-dalek 4.1.3", --- > "curve25519-dalek 4.1.2", 4382c4383 < "curve25519-dalek 4.1.3", --- > "curve25519-dalek 4.1.2", 4515a4517,4522 > name = "platforms" > version = "3.3.0" > source = "registry+https://github.com/rust-lang/crates.io-index" > checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" > > [[package]] 7493c7500 < "curve25519-dalek 4.1.3", --- > "curve25519-dalek 4.1.2", 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=";