about summary refs log tree commit diff
path: root/pkgs/development/tools/rust
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-07-16 19:33:04 +0200
committerVladimír Čunát <v@cunat.cz>2019-07-16 19:33:04 +0200
commit5bf68e1354d2a6ad3663c829675ddf90b6996e24 (patch)
tree2b80616f30ab34d690e53b0b859038637962a1d8 /pkgs/development/tools/rust
parent2b28e4c96ff59426b9797c771228d8938a26181e (diff)
parent538c8aebd8bceb828977dc0c79f5a17a314f43e8 (diff)
Merge #64742: firefox 67 -> 68, and related updates
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r--pkgs/development/tools/rust/cbindgen/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/cbindgen/default.nix b/pkgs/development/tools/rust/cbindgen/default.nix
index bce1e273cc415..ca4b6825a38f0 100644
--- a/pkgs/development/tools/rust/cbindgen/default.nix
+++ b/pkgs/development/tools/rust/cbindgen/default.nix
@@ -2,19 +2,22 @@
 
 rustPlatform.buildRustPackage rec {
   name = "rust-cbindgen-${version}";
-  version = "0.8.3";
+  version = "0.8.7";
 
   src = fetchFromGitHub {
     owner = "eqrion";
     repo = "cbindgen";
     rev = "v${version}";
-    sha256 = "08zlnk1k1nddjciccfdcplxqngsnz6ml3zxm57mijabzybry8zz1";
+    sha256 = "040rivayr0dgmrhlly5827c850xbr0j5ngiy6rvwyba5j9iv2x0y";
   };
 
   cargoSha256 = "1nig4891p7ii4z4f4j4d4pxx39f501g7yrsygqbpkr1nrgjip547";
 
   buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
 
+  # https://github.com/eqrion/cbindgen/issues/338
+  RUSTC_BOOTSTRAP = 1;
+
   meta = with stdenv.lib; {
     description = "A project for generating C bindings from Rust code";
     homepage = https://github.com/eqrion/cbindgen;