Skip to content

Commit

Permalink
Merge pull request #204870 from tjni/httplz
Browse files Browse the repository at this point in the history
httplz: fix for rust 1.65
  • Loading branch information
figsoda authored Dec 7, 2022
2 parents 4bae8ca + abbfe51 commit 35be608
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/tools/networking/httplz/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchCrate
, fetchpatch
, installShellFiles
, makeWrapper
, pkg-config
Expand All @@ -21,6 +22,15 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-+nCqMTLrBYNQvoKo1PzkyzRCkKdlE88+NYoJcIlAJts=";
};

patches = [
# https://github.com/thecoshman/http/pull/151
(fetchpatch {
name = "fix-rust-1.65-compile.patch";
url = "https://github.com/thecoshman/http/commit/6e4c8e97cce09d0d18d4936f90aa643659d813fc.patch";
hash = "sha256-mXclXfp2Nzq6Pr9VFmxiOzECGZEQRNOAcXoKhiOyuFs=";
})
];

cargoSha256 = "sha256-odiVIfNJPpagoASnYvdOosHXa37gbQM8Zmvtnao0pAs=";

nativeBuildInputs = [
Expand Down

0 comments on commit 35be608

Please sign in to comment.