Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2021-05-14 01:40:09 +02:00
46 changed files with 274 additions and 121 deletions
+7
View File
@@ -16,6 +16,13 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ llvmPackages.libclang v8 ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
postPatch = ''
# Remove #[deny(warnings)] which is equivalent to -Werror in C.
# Prevents build failures when upgrading rustc, which may give more warnings.
substituteInPlace src/lib.rs \
--replace "#![deny(warnings)]" ""
'';
configurePhase = ''
export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib"
export V8_SOURCE="${v8}"