about summary refs log tree commit diff
path: root/pkgs/development/tools/rust/bindgen
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-08-25 14:23:01 +0200
committerVladimír Čunát <v@cunat.cz>2019-08-25 14:23:01 +0200
commite19b17cc147d58fc8e7c2ba16ffb161ec9c153fa (patch)
tree08260420ebfbd8a1c6ddd43fd5e03ad05b1a2f81 /pkgs/development/tools/rust/bindgen
parent7de221d5e0947b4189ff35544152bd7382610695 (diff)
downloadnixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.tar
nixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.tar.gz
nixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.tar.bz2
nixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.tar.lz
nixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.tar.xz
nixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.tar.zst
nixlib-e19b17cc147d58fc8e7c2ba16ffb161ec9c153fa.zip
rust-bindgen: fixup build with rustc 1.37
Thanks to Symphorien: #67426
Diffstat (limited to 'pkgs/development/tools/rust/bindgen')
-rw-r--r--pkgs/development/tools/rust/bindgen/default.nix2
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 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;