kalker: fix build by patching cargo lock

This commit is contained in:
eymeric 2025-04-20 15:46:02 +02:00
parent c42725d9da
commit 88c60571f5
No known key found for this signature in database

View file

@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
fetchpatch,
gmp,
mpfr,
libmpc,
@ -19,7 +20,17 @@ rustPlatform.buildRustPackage rec {
};
useFetchCargoVendor = true;
cargoHash = "sha256-IYxgh6ni3BFnocHGKwKUqgSC2xUjn0b/4pBqRC5iY8U=";
cargoHash = "sha256-LEP2ebthwtpPSRmJt0BW/T/lB6EE+tylyVv+PDt8UoQ=";
cargoPatches = [
# Fixes build issue by just running cargo update
# Can be removed on next release
(fetchpatch {
name = "bump_cargo_deps.patch";
url = "https://github.com/PaddiM8/kalker/commit/81bf66950a9dfeca4ab5fdd12774c93e40021eb1.patch";
hash = "sha256-XT8jXTMIMOFw8OieoQM7IkUqw3SDi1c9eE1cD15BI9I=";
})
];
buildInputs = [
gmp