about summary refs log tree commit diff
path: root/pkgs/development/tools/rust/racer/rust-src.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/rust/racer/rust-src.patch')
-rw-r--r--pkgs/development/tools/rust/racer/rust-src.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/racer/rust-src.patch b/pkgs/development/tools/rust/racer/rust-src.patch
new file mode 100644
index 000000000000..2e794ac88874
--- /dev/null
+++ b/pkgs/development/tools/rust/racer/rust-src.patch
@@ -0,0 +1,10 @@
+--- 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",
+     ];