nixpkgs/pkgs/development/tools/rust/racer/rust-src.patch

11 lines
370 B
Diff
Raw Normal View History

--- 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",
];