summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-02-23 08:41:33 +0200
committerHilton Chain <hako@ultrarare.space>2025-08-21 19:07:42 +0800
commite22c2b84938f8ce6811cb377f1a6783ea469bf7f (patch)
treea5060f5a344fc332796fa20912a9e2e5ce64fe87
parentb9ce21a0e698063bf15512778afa9de8e34d4df7 (diff)
gnu: rust: Don't wrap rust-analyzer with proc-macro-srv.
This is apparently not the correct action. * gnu/packages/rust.scm (rust)[arguments]: Adjust the custom 'wrap-rust-analyzer phase to not wrap rust-analyzer with rust-analyzer-proc-macro-srv. Change-Id: I71e284f209a87b4c23c0657b564ab10de05e0937
-rw-r--r--gnu/packages/rust.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index ce0f549f030..ccf28c63f89 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1470,12 +1470,10 @@ safety and thread safety guarantees.")
(lambda (port)
(format port "#!~a
if test -z \"${RUST_SRC_PATH}\";then export RUST_SRC_PATH=~S;fi;
-exec -a \"$0\" \"~a\" --proc-macro-srv \"~a\" \"$@\""
+exec -a \"$0\" \"~a\" \"$@\""
(which "bash")
(string-append (assoc-ref outputs "rust-src")
"/lib/rustlib/src/rust/library")
- (string-append (assoc-ref outputs "out")
- "/libexec/rust-analyzer-proc-macro-srv")
(string-append bin "/.rust-analyzer-real"))))
(chmod (string-append bin "/rust-analyzer") #o755))))))))
(inputs