mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
1d8f539bd4
don't hard-code RUST_SRC_PATH so it can be overwritten by users/rustup
11 lines
370 B
Diff
11 lines
370 B
Diff
--- source.org/src/racer/util.rs 1970-01-01 01:00:01.000000000 +0100
|
|
+++ source/src/racer/util.rs 2017-11-15 16:50:12.904216242 +0000
|
|
@@ -384,6 +384,7 @@
|
|
debug!("Nope. Trying default paths: /usr/local/src/rust/src and /usr/src/rust/src");
|
|
|
|
let default_paths = [
|
|
+ "@rustcSrc@",
|
|
"/usr/local/src/rust/src",
|
|
"/usr/src/rust/src",
|
|
];
|