From e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 25 Aug 2019 14:23:01 +0200 Subject: rust-bindgen: fixup build with rustc 1.37 Thanks to Symphorien: #67426 --- pkgs/development/tools/rust/bindgen/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/tools/rust/bindgen') diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix index df782d935157..ca1c2fa45e9d 100644 --- a/pkgs/development/tools/rust/bindgen/default.nix +++ b/pkgs/development/tools/rust/bindgen/default.nix @@ -5,6 +5,8 @@ rustPlatform.buildRustPackage rec { pname = "rust-bindgen"; version = "0.51.0"; + RUSTFLAGS = "--cap-lints warn"; # probably OK to remove after update + src = fetchFromGitHub { owner = "rust-lang"; repo = pname; -- cgit 1.4.1