mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-16 01:19:22 +03:00
Merge pull request #310673 from kiike/zhf/hmm
hmm: replace rustc-serialize version to unbreak build
This commit is contained in:
commit
4e9d164e01
@ -14,11 +14,14 @@ rustPlatform.buildRustPackage rec {
|
||||
hash = "sha256-WPePzqZ2iGeJ7kzTj8eg7q1JEjw91WY7gViJJ46SLRY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-9Z49aPfcIdMfYCFAXsxFxcfhaLjtPod+nMFHDmvgDY0=";
|
||||
cargoHash = "sha256-CQnM7pFnk4LcstKllhbeohbrggKV6MBQy03oq7DEkP4=";
|
||||
|
||||
nativeCheckInputs = [
|
||||
perl
|
||||
];
|
||||
# FIXME: remove patch when upstream version of rustc-serialize is updated
|
||||
# https://github.com/NixOS/nixpkgs/pull/310673
|
||||
cargoPatches = [ ./rustc-serialize-fix.patch ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
|
16
pkgs/applications/misc/hmm/rustc-serialize-fix.patch
Normal file
16
pkgs/applications/misc/hmm/rustc-serialize-fix.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index b1cc23695b30..ffdeb1c90618 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -996,9 +996,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustc-serialize"
|
||||
-version = "0.3.24"
|
||||
+version = "0.3.25"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
|
||||
+checksum = "fe834bc780604f4674073badbad26d7219cadfb4a2275802db12cbae17498401"
|
||||
|
||||
[[package]]
|
||||
name = "rustix"
|
Loading…
Reference in New Issue
Block a user