help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RLS and Rust


From: brettg
Subject: RLS and Rust
Date: Thu, 21 Mar 2019 00:54:51 +0100
User-agent: Posteo Webmail

Hey all.

I am trying to use the rust language server. This might be a better question for a rust oriented mailing list, but I am going to give it a go here first.

I imported and installed the RLS from the crate importer, and installed it that way. When I try to start the RLS from emacs using the lsp-mode I get the following error.

"Server rls:5302 status:starting exited with status exit. Do you want to restart it? (y or n) n"

Now, the RLS page suggests to add components from rustup such as "rust-src" and "rust-analysis". I have the rust src checkout from git and the environment variable RUST_SRC_PATH set to point to that directory. However, that is not enough.

Does anybody have any ideas on how to proceed? Also, what is the status on getting rust packages upstream to guix master? I know we have some additional bootstrapping efforts to get through first.

Is anybody out there doing rust development from GuixSD?

(define-public rust-rls
  (package
   (name "rust-rls")
   (version "0.122.2")
   (source
    (origin
     (method url-fetch)
     (uri (crate-uri "rls" version))
     (file-name
      (string-append name "-" version ".tar.gz"))
     (sha256
      (base32
       "18an9hp8v68rwc5i2939h1fpjdfi4y2317c46yafv7j2rb6dfixg"))))
   (build-system cargo-build-system)
   (home-page
    "https://github.com/rust-lang-nursery/rls";)
   (synopsis
"Rust Language Server - provides information about Rust programs to IDEs and other tools")
   (description
"Rust Language Server - provides information about Rust programs to IDEs and other tools")
   (license #f)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]