diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-08-25 14:23:01 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-08-25 14:23:01 +0200 |
commit | e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa (patch) | |
tree | 08260420ebfbd8a1c6ddd43fd5e03ad05b1a2f81 /pkgs/development/tools/rust | |
parent | 7de221d5e0947b4189ff35544152bd7382610695 (diff) |
rust-bindgen: fixup build with rustc 1.37
Thanks to Symphorien: #67426
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r-- | pkgs/development/tools/rust/bindgen/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix index df782d935157f..ca1c2fa45e9d4 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; |