Merge pull request #127128 from baloo/baloo/bindgen/llvm_latest

rust-bindgen: some features of bindgen require a recent version of llvm
This commit is contained in:
Sandro 2021-06-16 23:58:53 +02:00 committed by GitHub
commit f4ca9882ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, clang, llvmPackages, rustfmt, writeScriptBin
{ lib, fetchFromGitHub, rustPlatform, clang, llvmPackages_latest, rustfmt, writeScriptBin
, runtimeShell
, bash
}:
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0r60smhlx1992a1s1k5sxjpdqllb2xsqcimgx3ldp5fdkfphk3cw";
#for substituteAll
libclang = llvmPackages.libclang.lib;
libclang = llvmPackages_latest.libclang.lib;
inherit bash;
buildInputs = [ libclang ];