Merge pull request #80401 from cole-h/clippy
clippy: add rustc.llvm to buildInputs
This commit is contained in:
commit
9fee338cb9
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage {
|
|||||||
# changes hash of vendor directory otherwise
|
# changes hash of vendor directory otherwise
|
||||||
dontUpdateAutotoolsGnuConfigScripts = true;
|
dontUpdateAutotoolsGnuConfigScripts = true;
|
||||||
|
|
||||||
buildInputs = [ rustc ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = [ rustc rustc.llvm ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
# fixes: error: the option `Z` is only accepted on the nightly compiler
|
# fixes: error: the option `Z` is only accepted on the nightly compiler
|
||||||
RUSTC_BOOTSTRAP = 1;
|
RUSTC_BOOTSTRAP = 1;
|
||||||
@ -26,7 +26,7 @@ rustPlatform.buildRustPackage {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://rust-lang.github.io/rust-clippy/;
|
homepage = "https://rust-lang.github.io/rust-clippy/";
|
||||||
description = "A bunch of lints to catch common mistakes and improve your Rust code";
|
description = "A bunch of lints to catch common mistakes and improve your Rust code";
|
||||||
maintainers = with maintainers; [ basvandijk ];
|
maintainers = with maintainers; [ basvandijk ];
|
||||||
license = with licenses; [ mit asl20 ];
|
license = with licenses; [ mit asl20 ];
|
||||||
|
@ -155,8 +155,10 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
requiredSystemFeatures = [ "big-parallel" ];
|
requiredSystemFeatures = [ "big-parallel" ];
|
||||||
|
|
||||||
|
passthru.llvm = llvmShared;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.rust-lang.org/;
|
homepage = "https://www.rust-lang.org/";
|
||||||
description = "A safe, concurrent, practical language";
|
description = "A safe, concurrent, practical language";
|
||||||
maintainers = with maintainers; [ madjar cstrahan globin havvy ];
|
maintainers = with maintainers; [ madjar cstrahan globin havvy ];
|
||||||
license = [ licenses.mit licenses.asl20 ];
|
license = [ licenses.mit licenses.asl20 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user