materialize: fix on darwin + various improvements (#361500)
[NixPkgs.git] / pkgs / development / tools / rubyfmt / 0003-ignore-warnings.patch
blob6c46ebb06087697baab3e9fab36c963a3599bc70
1 diff --git i/librubyfmt/build.rs w/librubyfmt/build.rs
2 index 296b749..941a4ca 100644
3 --- i/librubyfmt/build.rs
4 +++ w/librubyfmt/build.rs
5 @@ -166,6 +166,7 @@ fn run_configure(ruby_checkout_path: &Path) -> Output {
6 command
7 .arg("--target=aarch64-unknown-linux-gnu")
8 .arg("--host=x86_64")
9 + .arg("--disable-werror")
10 .env("CC", "aarch64-linux-gnu-gcc")
11 .env("AR", "aarch64-linux-gnu-ar")
12 .env("RANLIB", "aarch64-linux-gnu-ranlib");
13 diff --git i/librubyfmt/src/lib.rs w/librubyfmt/src/lib.rs
14 index 9b94b5f..b78e99f 100644
15 --- i/librubyfmt/src/lib.rs
16 +++ w/librubyfmt/src/lib.rs
17 @@ -1,4 +1,3 @@
18 -#![deny(warnings, missing_copy_implementations)]
19 #![allow(clippy::upper_case_acronyms, clippy::enum_variant_names)]
21 use serde::de::value;