unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Hannes Walter <hannes@walter.hamburg>
To: help-guix@gnu.org
Subject: Rust development in guix
Date: Wed, 21 Aug 2024 15:25:09 +0200	[thread overview]
Message-ID: <3f5713a8-726d-4dd1-20a4-7df6630a9eb3@walter.hamburg> (raw)

Hi all,


I'm trying to learn how to program in rust, but using default rust 
package with `guix install rust` throws an error during the linking phase

--8<---------------cut here---------------start------------->8---
ld: cannot find -lrt: No such file or directory
--8<---------------cut here---------------end--------------->8---

I also tried setting up rustup in a container as described in 
https://guix.gnu.org/en/blog/2023/the-filesystem-hierarchy-standard-comes-to-guix-containers/ 
but I can't get cargo to start a new project there and I thought before 
I start pulling out my hair I would ask how others have set up a rust 
development environment, maybe even with emacs integration? Perhaps even 
Doomemacs?

What's the guix way of doing things? Or should I just use rustup and 
leave it all outside of the guix system?

Thanks in advance,

Worni



             reply	other threads:[~2024-08-22 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 13:25 Hannes Walter [this message]
2024-08-26 23:13 ` Rust development in guix woshilapin
2024-08-27 10:15   ` Worni

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=3f5713a8-726d-4dd1-20a4-7df6630a9eb3@walter.hamburg \
    --to=hannes@walter.hamburg \
    --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).