unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: brettg@posteo.net
To: help-guix <help-guix@gnu.org>
Subject: RLS and Rust
Date: Thu, 21 Mar 2019 00:54:51 +0100	[thread overview]
Message-ID: <1aefa23d295b542fbb682c8431184d7e@posteo.net> (raw)

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	other threads:[~2019-03-21  0:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20 23:54 brettg [this message]
2019-03-22  2:55 ` RLS and Rust Ivan Petkov
2019-03-27  1:58   ` Brett Gilio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1aefa23d295b542fbb682c8431184d7e@posteo.net \
    --to=brettg@posteo.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).