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
parent
2ad838f75f
commit
30cb85226b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue