rdedup: use default clang version

This commit is contained in:
Luka Blaskovic 2020-01-18 18:55:51 +00:00 committed by worldofpeace
parent 668b3e7de4
commit 2d8d2c3fb8

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, libsodium { stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, libsodium
, llvmPackages, clang_39, lzma , llvmPackages, clang, lzma
, Security }: , Security }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
./v3.1.1-fix-Cargo.lock.patch ./v3.1.1-fix-Cargo.lock.patch
]; ];
nativeBuildInputs = [ pkgconfig llvmPackages.libclang clang_39 ]; nativeBuildInputs = [ pkgconfig llvmPackages.libclang clang ];
buildInputs = [ openssl libsodium lzma ] buildInputs = [ openssl libsodium lzma ]
++ (stdenv.lib.optional stdenv.isDarwin Security); ++ (stdenv.lib.optional stdenv.isDarwin Security);