From mboxrd@z Thu Jan 1 00:00:00 1970 From: brettg@posteo.net Subject: RLS and Rust Date: Thu, 21 Mar 2019 00:54:51 +0100 Message-ID: <1aefa23d295b542fbb682c8431184d7e@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6lFq-0000Ng-CV for help-guix@gnu.org; Wed, 20 Mar 2019 20:08:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6l2u-0006p1-9y for help-guix@gnu.org; Wed, 20 Mar 2019 19:54:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45956) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6l2t-0006la-JQ for help-guix@gnu.org; Wed, 20 Mar 2019 19:54:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4B10316005F for ; Thu, 21 Mar 2019 00:54:52 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 44PmxR5VrDz6tm7 for ; Thu, 21 Mar 2019 00:54:51 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" 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)))