From d82811f43fedfc00700f9a6f4c48290f6a52543d Mon Sep 17 00:00:00 2001 From: VuiMuich Date: Thu, 29 Aug 2024 12:59:24 +0200 Subject: [PATCH] cargo-info: fix build --- pkgs/development/tools/rust/cargo-info/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/rust/cargo-info/default.nix b/pkgs/development/tools/rust/cargo-info/default.nix index c2892ab70783..096ef8f764e9 100644 --- a/pkgs/development/tools/rust/cargo-info/default.nix +++ b/pkgs/development/tools/rust/cargo-info/default.nix @@ -18,6 +18,9 @@ rustPlatform.buildRustPackage rec { hash = "sha256-02Zkp7Vc1M5iZsG4iJL30S73T2HHg3lqrPJ9mW3FOuk="; }; + # upstream uses `#![deny(warnings)]` which breaks our build + RUSTFLAGS = "--cap-lints allow"; + cargoHash = "sha256-zp7qklME28HNGomAcQgrEi7W6zQ1QCJc4FjxtnKySUE="; nativeBuildInputs = [