libsignal-ffi 0.39.2 -> 0.41.2 https://github.com/signalapp/libsignal/releases attrpath: libsignal-ffi 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/li/libsignal-ffi/package.nix b/pkgs/by-name/li/libsignal-ffi/package.nix index b6faa11f8482..afc863596bb8 100644 --- a/pkgs/by-name/li/libsignal-ffi/package.nix +++ b/pkgs/by-name/li/libsignal-ffi/package.nix @@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec { pname = "libsignal-ffi"; # must match the version used in mautrix-signal # see https://github.com/mautrix/signal/issues/401 - version = "0.39.2"; + version = "0.41.2"; src = fetchFromGitHub { owner = "signalapp"; repo = "libsignal"; rev = "v${version}"; - hash = "sha256-MKmkqfUhXOHUlP3jSNKsplT9kP0ERj3rmTrLLU3T2no="; + hash = "sha256-Q4tiL9OFjmQcIBvDBBdbvAtDvT1VUhv9dpbIuW50MKA="; }; nativeBuildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ]; Received ExitFailure 1 when running Raw command: /nix/store/6r0bm8shswm9v08kzvq24ib48mx3kxmn-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A libsignal-ffi nix build failed. < dependencies = [ < "sha1_smol", < ] --- > checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" 4180c3750 < "bitflags 2.4.2", --- > "bitflags 2.4.1", 4488d4057 < "cfg-if", 4498d4066 < "rayon", 4500d4067 < "sha2", 4520d4086 < "num_enum", 4528d4093 < "test-case", 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=";