Merge pull request #108652 from tvbeat/rls-rust-src

rls: set RUST_SRC_PATH to rustLibSrc
This commit is contained in:
Maximilian Bosch 2021-01-07 12:17:16 +01:00 committed by GitHub
commit 2020d15962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,9 +39,9 @@ rustPlatform.buildRustPackage {
$out/bin/rls --version
'';
RUST_SRC_PATH = rustPlatform.rustcSrc;
RUST_SRC_PATH = rustPlatform.rustLibSrc;
postInstall = ''
wrapProgram $out/bin/rls --set-default RUST_SRC_PATH ${rustPlatform.rustcSrc}
wrapProgram $out/bin/rls --set-default RUST_SRC_PATH ${rustPlatform.rustLibSrc}
'';
meta = with stdenv.lib; {