mdzk: fix compile with newer Rust

Closes #116220.

Signed-off-by: Michka Popoff <3406519+iMichka@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Bo Anderson 2022-11-20 04:56:22 +00:00 committed by BrewTestBot
parent 2ad838f75f
commit 30cb85226b
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,13 @@ class Mdzk < Formula
depends_on "rust" => :build
# Fix compile with newer Rust.
# Remove with the next release.
patch do
url "https://raw.githubusercontent.com/NixOS/nixpkgs/ea76cad34d64ce213de5992154031bf0c9b75ace/pkgs/applications/misc/mdzk/update-mdbook-for-rust-1.64.patch"
sha256 "953f1d75d586acba6786d9c578f5c07fc2a52fc5ef5c743576a613a7491fbb50"
end
def install
system "cargo", "install", *std_cargo_args
end