all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RLS and Rust
@ 2019-03-20 23:54 brettg
  2019-03-22  2:55 ` Ivan Petkov
  0 siblings, 1 reply; 3+ messages in thread
From: brettg @ 2019-03-20 23:54 UTC (permalink / raw)
  To: help-guix

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)))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-27  1:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 23:54 RLS and Rust brettg
2019-03-22  2:55 ` Ivan Petkov
2019-03-27  1:58   ` Brett Gilio

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.