Merge pull request #80602 from cole-h/rls

rls: add llvm to buildInputs
This commit is contained in:
Jörg Thalheim 2020-02-20 14:07:07 +00:00 committed by GitHub
commit e657a87f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ rustPlatform.buildRustPackage {
CARGO_BUILD_RUSTFLAGS = if stdenv.isDarwin then "-C rpath" else null; CARGO_BUILD_RUSTFLAGS = if stdenv.isDarwin then "-C rpath" else null;
nativeBuildInputs = [ pkgconfig cmake ]; nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ openssh openssl curl zlib libiconv ] buildInputs = [ openssh openssl curl zlib libiconv rustPlatform.rust.rustc.llvm ]
++ (stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security ]); ++ (stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security ]);
doCheck = true; doCheck = true;
@ -37,7 +37,7 @@ rustPlatform.buildRustPackage {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Rust Language Server - provides information about Rust programs to IDEs and other tools"; description = "Rust Language Server - provides information about Rust programs to IDEs and other tools";
homepage = https://github.com/rust-lang/rls/; homepage = "https://github.com/rust-lang/rls/";
license = with licenses; [ asl20 /* or */ mit ]; license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ symphorien ]; maintainers = with maintainers; [ symphorien ];
platforms = platforms.all; platforms = platforms.all;