mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
434ff94e73
This uses an upstream patch [0] to fix a compatibility error with a new version of Rust. Fix #79150. Unfortunately patching Rust dependencies in Nixpkgs turned out to be way more hacky than I expected (maybe there is a nicer way?), but it should be fine for now. A new release might follow soonish [1] so that we can drop the patches. References: - https://nest.pijul.com/pijul_org/pijul/discussions/401 - https://nest.pijul.com/pijul_org/thrussh/discussions/31 [0]: https://nest.pijul.com/pijul_org/thrussh:master/patches/AsyuWkJg4jAwNaG3H1yv1kbECx5E3GQAtjzXWBDB8yEGMswyfKbxKvYmAGWCohTVaTipdvF8mHh63yU5PTr5F9py [1]: https://discourse.pijul.org/t/is-this-project-still-active-yes-it-is/451
13 lines
434 B
Diff
13 lines
434 B
Diff
--- a/src/client/connection.rs 2020-02-04 12:48:43.845299096 +0100
|
|
+++ b/src/client/connection.rs 2020-02-04 12:50:00.140329310 +0100
|
|
@@ -546,8 +546,8 @@
|
|
&[msg::NEWKEYS],
|
|
&mut session.0.write_buffer,
|
|
);
|
|
- session.0.kex = Some(Kex::NewKeys(newkeys));
|
|
newkeys.sent = true;
|
|
+ session.0.kex = Some(Kex::NewKeys(newkeys));
|
|
}
|
|
Ok(())
|
|
}
|