mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
kalker: fix build by patching cargo lock
This commit is contained in:
parent
c42725d9da
commit
88c60571f5
1 changed files with 12 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
gmp,
|
gmp,
|
||||||
mpfr,
|
mpfr,
|
||||||
libmpc,
|
libmpc,
|
||||||
|
@ -19,7 +20,17 @@ rustPlatform.buildRustPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
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 = [
|
buildInputs = [
|
||||||
gmp
|
gmp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue