diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2025-02-23 08:41:33 +0200 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-08-21 19:07:42 +0800 |
| commit | e22c2b84938f8ce6811cb377f1a6783ea469bf7f (patch) | |
| tree | a5060f5a344fc332796fa20912a9e2e5ce64fe87 | |
| parent | b9ce21a0e698063bf15512778afa9de8e34d4df7 (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.scm | 4 |
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.") | |||
| 1470 | (lambda (port) | 1470 | (lambda (port) |
| 1471 | (format port "#!~a | 1471 | (format port "#!~a |
| 1472 | if test -z \"${RUST_SRC_PATH}\";then export RUST_SRC_PATH=~S;fi; | 1472 | if test -z \"${RUST_SRC_PATH}\";then export RUST_SRC_PATH=~S;fi; |
| 1473 | exec -a \"$0\" \"~a\" --proc-macro-srv \"~a\" \"$@\"" | 1473 | exec -a \"$0\" \"~a\" \"$@\"" |
| 1474 | (which "bash") | 1474 | (which "bash") |
| 1475 | (string-append (assoc-ref outputs "rust-src") | 1475 | (string-append (assoc-ref outputs "rust-src") |
| 1476 | "/lib/rustlib/src/rust/library") | 1476 | "/lib/rustlib/src/rust/library") |
| 1477 | (string-append (assoc-ref outputs "out") | ||
| 1478 | "/libexec/rust-analyzer-proc-macro-srv") | ||
| 1479 | (string-append bin "/.rust-analyzer-real")))) | 1477 | (string-append bin "/.rust-analyzer-real")))) |
| 1480 | (chmod (string-append bin "/rust-analyzer") #o755)))))))) | 1478 | (chmod (string-append bin "/rust-analyzer") #o755)))))))) |
| 1481 | (inputs | 1479 | (inputs |
