From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wDf+MV0MzWYxIQEAqHPOHw:P1 (envelope-from ) for ; Mon, 26 Aug 2024 23:14:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wDf+MV0MzWYxIQEAqHPOHw (envelope-from ) for ; Tue, 27 Aug 2024 01:14:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuziwo.info header.s=protonmail2 header.b=PCC9KNi+; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=tuziwo.info ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724714077; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=y4nZNEpvMs5FbApt1eZE5HyzzQkhlCh5LmbnVNI8K9o=; b=WhPtBrmXmNNEd++IeqgeSVCEHEfDwZuCEhS0sglx49vlmG66xFR/Ns5J5GFUoWr0SmZ0p2 oCmW9PlLKxPccKOdfMiLlNn7Ufhhpw5yX7kkM8JJ7oPzjqUOYvoCJTC/+lCHoj1Ne9vg8m DuIorN4OGmScPsVW309o1Eq6i9KkKCoUgMaRs/FFl37R3ldeYHBfLm34NpPtetXo361o/r ONW0t1cqajOVHhPShUxtwucZ6St1IfZiVJXVRiBzOLCOUjFw8nEFkPgX7rMzbsAyabtYv/ MBzi026bmg8NW9Dsmvn0g1b0fptF/wy/z7RJOwNhUyWFbPwzb+Q74xSVe2vptQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tuziwo.info header.s=protonmail2 header.b=PCC9KNi+; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=tuziwo.info ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724714077; a=rsa-sha256; cv=none; b=vBK6nhQHdIM+bK8h7dJ20iWUs3E67yf7DoP+vhwNNMX+BqmXN0J/NC3arBQ4wD9zpwiUq9 5VUIRcP6FtOGAVpOHM3HWdsp0+vWpHHk7kwPzT61wh2ZCO04zQdZWBJG96/CXdoy6E97hL IEdY0uwKXijV4Ye/4aydlb/+v6p7pmTwpv0KxaD1BbJCl/1YMBO/Z9iSW5HqADFg/V93JW JqWDExHLnzNeQaZZ8B1zrf43cvGQJ+x871vz8RRLXuGyc6tbVJ1LQXPYnhwQUhsGrGwmhv UzS+sM0GCN6LmDPlA50rs0ChxIHQfre3je65ZlOA4WhDbL2oVcTMgc8Fm7X5rQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3663E6451B for ; Tue, 27 Aug 2024 01:14:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siiuJ-0002BF-2l; Mon, 26 Aug 2024 19:13:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siiuG-0002Ay-SQ for help-guix@gnu.org; Mon, 26 Aug 2024 19:13:53 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siiuA-0006OR-Ir for help-guix@gnu.org; Mon, 26 Aug 2024 19:13:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuziwo.info; s=protonmail2; t=1724714020; x=1724973220; bh=y4nZNEpvMs5FbApt1eZE5HyzzQkhlCh5LmbnVNI8K9o=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=PCC9KNi+rfwbLpXboOJFnCOwiUtLeU4GPzMwzYkNHi/FQBJODkmBG4BNd246KUAQ1 b1Pr078IrvwWFgu4gktD6+oe7IUm4t67WxSMQygDOXXdJhY2EQUUYa7lP0l1C/Iq9d T5YQ0XYRStYxVm6HVs8Z7km/frvU08C4GObUT19S/YKM73/1zC+CVLWksWIOQ5grW2 yWAxEpt5MJQ4EAyjqjyCKCNq/V2W7L0GU0eCzBb3SMS/gT5/axZRhARIdWWdcgG/Sl WAxOA/H3hCE99+wNfXcDWGSr3L7p5ZJ08G8Ocs5i9rrSdWbj9aUp3Hee8ZSZ4aRUjG +G0LwAtJ9UKGQ== Date: Mon, 26 Aug 2024 23:13:36 +0000 To: Hannes Walter From: woshilapin Cc: help-guix@gnu.org Subject: Re: Rust development in guix Message-ID: In-Reply-To: <3f5713a8-726d-4dd1-20a4-7df6630a9eb3@walter.hamburg> References: <3f5713a8-726d-4dd1-20a4-7df6630a9eb3@walter.hamburg> Feedback-ID: 30348956:user:proton X-Pm-Message-ID: be886fec67f6cf53630df16b1d10deab5e89389f MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=woshilapin@tuziwo.info; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 3663E6451B X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.68 X-Spam-Score: -7.68 X-TUID: cz2BCJfzFmfq Hi Hannes, I've had success setting up, compiling and running a Rust project (a simple= main "Hello world" function), dropping in a shell with only these 2 depend= encies. ``` guix shell rust rust:cargo ``` Is your program specific in any way? Including external C libraries maybe? Sincerely, -- Jean SIMARD aka woshilapin Le mercredi 21 ao=C3=BBt 2024 =C3=A0 15:25, Hannes Walter a =C3=A9crit=C2=A0: > Hi all, >=20 >=20 > 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 >=20 > --8<---------------cut here---------------start------------->8--- >=20 > ld: cannot find -lrt: No such file or directory > --8<---------------cut here---------------end--------------->8--- >=20 >=20 > 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? >=20 > What's the guix way of doing things? Or should I just use rustup and > leave it all outside of the guix system? >=20 > Thanks in advance, >=20 > Worni