summary refs log tree commit diff
path: root/pkgs/development/tools/rust/rust-analyzer/generic.nix
diff options
context:
space:
mode:
authoroxalica <oxalicc@pm.me>2020-11-07 00:31:25 +0800
committeroxalica <oxalicc@pm.me>2020-11-07 01:42:27 +0800
commit68060f6f6f491201724192ea0997d67dbeb2e302 (patch)
tree45819fb1af4cf0cd52181b5346cc2e1a5cde5262 /pkgs/development/tools/rust/rust-analyzer/generic.nix
parent7ac7ce8b1ab5020639c4a3d53f85e8b1dcc36ac7 (diff)
downloadnixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.tar
nixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.tar.gz
nixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.tar.bz2
nixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.tar.lz
nixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.tar.xz
nixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.tar.zst
nixpkgs-68060f6f6f491201724192ea0997d67dbeb2e302.zip
makeRustPlatform: add rustLibSrc
rust-analyzer: rustcSrc -> rustLibSrc to fix build
Diffstat (limited to 'pkgs/development/tools/rust/rust-analyzer/generic.nix')
-rw-r--r--pkgs/development/tools/rust/rust-analyzer/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/rust/rust-analyzer/generic.nix b/pkgs/development/tools/rust/rust-analyzer/generic.nix
index cbcab33e0db..1bab5b95183 100644
--- a/pkgs/development/tools/rust/rust-analyzer/generic.nix
+++ b/pkgs/development/tools/rust/rust-analyzer/generic.nix
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage {
 
   inherit doCheck;
   preCheck = lib.optionalString doCheck ''
-    export RUST_SRC_PATH=${rustPlatform.rustcSrc}
+    export RUST_SRC_PATH=${rustPlatform.rustLibSrc}
   '';
 
   doInstallCheck = true;