From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mLr8CgAQl2WddAAAkFu2QA (envelope-from ) for ; Thu, 04 Jan 2024 21:07:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8DZ5BQAQl2XGIAEAqHPOHw (envelope-from ) for ; Thu, 04 Jan 2024 21:07:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=DD5IO+B7; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704398848; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SZcHLNRCZRbg9W4lco2xGlZE5zGIS7mhiMYCdGaHL1I=; b=Sb1SGSO+SobWK9rRGO6UOiHI9l3eYDqb7Km+fRLTyzYENoVzcxmly4u1z65aNJVYMm49bO ar0OFhdHuoRfPgEmXf4X+lIrQMMwkagzGimjz2rwVVbSnoKisRGbkh6RXGTH7x6WVc+QuZ A8rGNJzkNSvD9qoBLOr/QD9wKtKq2WR0q2uNE5l4COwQ6RbqNekNU207322G2+E4oxS+7y hbqAvmMyj5/QTMRiUdveczb/FRatgGJmc23UmX7pwHdvQhh3cVRiknnWyLqfi1aW/km+7T uKqeh39u8Axxd2T1rnedrFMWrQFgPdXkz/Dxcgy5xTChd2c6SS4uKllIuoWiNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=DD5IO+B7; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704398848; a=rsa-sha256; cv=none; b=cWmnxFEy9x4mfnzwcjNDe8JwBPyuWAiAb40XsLOL0JXL7JcDyTeAzgHBDYC3eVKkmLSHKQ ZicLeFSCdCAgwvF0EQHYxF9n3YD7zCq7bgwCPiTj42pPC52RBzW947lIvLCrQ8uQq+WR/K kiBe3uUYBa2MNw1eRB8UWNwcI6SZ9UdLhVpfIJnmP3rNomk8uzQJraKuzqQD98ko+yYRqL 0fqxgHHa+sWFCszTs2eANVL0TtbRG/m9WSFDuIWDaz2PUrFhIqbNk7RZmD2MhEwKjXODsp h/DrxGyvWvnCLCzHZi8HHzCNh3P5CJq1F43yMIn+iMUOXnziDXiBCCadnOM5gw== 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 ECB472621C for ; Thu, 4 Jan 2024 21:07:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLTzb-0002pP-QK; Thu, 04 Jan 2024 15:07:03 -0500 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 1rK8YL-00066E-48 for guix-devel@gnu.org; Sun, 31 Dec 2023 22:01:21 -0500 Received: from w1.tutanota.de ([81.3.6.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rK8YJ-0008Va-88 for guix-devel@gnu.org; Sun, 31 Dec 2023 22:01:20 -0500 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id 027DCFBFBA7; Mon, 1 Jan 2024 03:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1704078076; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=SZcHLNRCZRbg9W4lco2xGlZE5zGIS7mhiMYCdGaHL1I=; b=DD5IO+B7x/Bh0DwzTRYwvBBUq+pvoPH74TQWxLq8Cozjt3IWCDsA+1cHiNw9NVyH e8pDQsVXpbEW5paZvXwFKDlssfS0+Sf7K6XWs+nb+bJtJ0Hf8xG1jof29/E+cQQ05zC XVVL079BRQKO0eYsBg/KKwKvuya/D+x5LW41nldy/h27OTgB1kvbc4r3ulAkz15Tvne VAU7fH1JVzt/uJweLFuplt1Kyl4Aqht0tgkSsSlTJXNJrWnG/nmlLZGc1VofoFzv+XS 0cj6kGFGDHgH/qdDKvD6qpqAKeb+yEDJkby9V3ij0x0le3DEJntPsRbVxEZCDVpUdCr /xF3OfNvWg== Date: Mon, 1 Jan 2024 04:01:16 +0100 (CET) To: Maxim Cournoyer Cc: guix-devel , Tobias Geerinckx-Rice , Ekaitz Zarraga Message-ID: In-Reply-To: <87o7e6pb00.fsf@gmail.com> References: <87edf4s7vw.fsf@gmail.com> <87o7e6pb00.fsf@gmail.com> Subject: Re: Suggestion for a guix shell feature. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20812_111312024.1704078077003" Received-SPF: pass client-ip=81.3.6.162; envelope-from=apoorvs@tuta.io; helo=w1.tutanota.de X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-Mailman-Approved-At: Thu, 04 Jan 2024 15:06:55 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Apoorv From: Apoorv via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.29 X-Spam-Score: -4.29 X-Migadu-Queue-Id: ECB472621C X-Migadu-Scanner: mx10.migadu.com X-TUID: ji/HLMMMTbC0 ------=_Part_20812_111312024.1704078077003 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I can add rust:cargo but the package definition in the guix.scm is already using `cargo-build-system` shouldn't it include rust and cargo etc automatically? -- Sent with Tuta; enjoy secure & ad-free emails: https://tuta.com Dec 31, 2023, 16:56 by maxim.cournoyer@gmail.com: > Hi, > > Apoorv writes: > >> Sorry, this is my first time using some mailing list. >> >> I tried using `--container` and `--emulate-fhs` first it doesn't seem >> to use `guix.scm` automatically I have to specify it using >> `--file=guix.scm`. Second, the container is missing so much more stuff >> like cargo for example. >> > > Yes, that's a somewhat surprising behavior designed to avoid bad > surprises, in that if you start using arguments with 'guix shell', the > 'do what I mean' magic is cancelled and you need to explicit each > arguments. > > About cargo missing, what prevents you from adding rust:cargo to your > guix.scm file? > >> This is my own project in Rust lang, I basically define `guix.scm` for >> all my projects since I started using Guix. >> > > I guess this being rust everything is statically compiled, and the usual > dynamic loader is not useful here (the RUNPATH baked in elf binaries is > not used). > > -- > Thanks, > Maxim > ------=_Part_20812_111312024.1704078077003 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can add rust:cargo but the package definition in the guix.scm is alr= eady using `cargo-build-system` shouldn't it include rust and cargo etc aut= omatically?

--
Sent with Tuta;= enjoy secure & ad-free emails:
https://tuta.com


Dec 31, 2023, 16:56 by maxim.cournoye= r@gmail.com:
Hi,

Apoorv <apoorvs@tuta.io> writes:
=
Sorry, this is my first time using some mailing list.
<= /div>

I tried using `--container` and `--emulate-fhs` fi= rst it doesn't seem
to use `guix.scm` automatically I have to= specify it using
`--file=3Dguix.scm`. Second, the container = is missing so much more stuff
like cargo for example.

Yes, that's a somewhat surprising behavi= or designed to avoid bad
surprises, in that if you start usin= g arguments with 'guix shell', the
'do what I mean' magic is = cancelled and you need to explicit each
arguments.
<= div>
About cargo missing, what prevents you from adding rust:= cargo to your
guix.scm file?
This i= s my own project in Rust lang, I basically define `guix.scm` for
<= div>all my projects since I started using Guix.
=
I guess this being rust everything is statically compiled, a= nd the usual
dynamic loader is not useful here (the RUNPATH b= aked in elf binaries is
not used).

--
Thanks,
Maxim

------=_Part_20812_111312024.1704078077003--