From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GKzOOvsPl2U6AQAAkFu2QA (envelope-from ) for ; Thu, 04 Jan 2024 21:07:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YAX3NPsPl2UYGwAAe85BDQ (envelope-from ) for ; Thu, 04 Jan 2024 21:07:23 +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=FwHx5jjo; 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=1704398843; 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=hbUZlGbbLCWB7W2eKHtn2K+kxxeR6pthEF7c382cmVA=; b=RLFiXKI55okmw8Xif/Fexx26YVaMPrCmjSSO61OGoQZkrwwyVfhwKzdD0m+Dz6xpkqI/ak 3cS5YYQC+wjawThIaX435cybx0Xulzju06v70U3HLnpUI3AHVRKsbInJj8gPqG88Sadmte KQbTKw+PvKpJTzm6kp7JcIl2XsAQcDckHfPpwWFH8+rXQe2majXHlJW+pixhELjl/W5b4Z wbbr962Wca4f08vWCdXkOHjeJ6CnG0lElpIF4FhWHi9gAIFhdB/TmGEu2WCLa6tIM2rxpj 1ayqfNRNyLMKtPzcCcqKGMMuvjmpBQ1G6LvDvQ2xDBB1r3I5eb9RRb6DS/hdwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=FwHx5jjo; 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=1704398843; a=rsa-sha256; cv=none; b=Kk8L1aSbTK8dJ3jKalWI5d2Evk5fn+l+A7fYzABWHhiMFX4CZanp6LdNvHs12LslPRsK/F NF63EArCQx2UXCJV3XVSELbHD4zlfgqA2WEq4lB0q5MeS6MFRVOJ7bE6SiqX0gXtTQm/yc AILaC1GKUnnfrdF+czesHuBOaFdZCoyZte2GPlKIKOVOkGRL9axD0liEKXr0D0YbVtiMJW 8JKBWGPFK+SCgXNfAriHcw14RCpw1WWnqjKw4CW1Q75eJtYKT2L9QDRq/1Vv99RoT/eZbF kBUkUkxLWd6nCCz3k00EqXDfwctNPPeTWzaXguBdkdIsRzQqRdp9LeGC8BxGZg== 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 779176399A for ; Thu, 4 Jan 2024 21:07:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLTzZ-0002od-T0; 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 1rJueY-000861-PG for guix-devel@gnu.org; Sun, 31 Dec 2023 07:10:50 -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 1rJueW-0000P1-PB for guix-devel@gnu.org; Sun, 31 Dec 2023 07:10:50 -0500 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id DBE85FBFBB1; Sun, 31 Dec 2023 12:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1704024643; 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=hbUZlGbbLCWB7W2eKHtn2K+kxxeR6pthEF7c382cmVA=; b=FwHx5jjoOBEei6C/XRs3yV64AUyshv9nDL9udQnElrADX7sGoWR2oN8NoQ8pe0mM mIeIG7/glVHQBKjWuJ6DyeFEWqwt9NSIDBfQiDZvBPkpEyFkWX1vWjLGb5FZo30CIQZ XR3qIm/r/i2YzkgfXHtQq89yq7B7EQ44saP0L6M7LA9aBjIw3CCpBxNYdLleFFvmOjT n0IV+tRg6Zo5UtRhrkiZPd/MQYm22NVqqLjcApZPHcL/DQG2E7kPvjCUjdEyBr7ghTF c/4CAeM9CThNLCL7i+fI484xqKnfk/pp3PZMF9nhDhUbYfc3s33qmUhL2bYCu/wxptE Wis0cfDDuA== Date: Sun, 31 Dec 2023 13:10:43 +0100 (CET) To: Maxim Cournoyer Cc: guix-devel , Tobias Geerinckx-Rice , Ekaitz Zarraga Message-ID: In-Reply-To: <87edf4s7vw.fsf@gmail.com> References: <87edf4s7vw.fsf@gmail.com> Subject: Re: Suggestion for a guix shell feature. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19576_836004227.1704024643892" 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-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.66 X-Spam-Score: -3.66 X-Migadu-Queue-Id: 779176399A X-TUID: a42YZa1o6mF5 ------=_Part_19576_836004227.1704024643892 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. This is my own project in Rust lang, I basically define `guix.scm` for all my projects since I started using Guix. -- Sent with Tuta; enjoy secure & ad-free emails: https://tuta.com Dec 30, 2023, 03:10 by maxim.cournoyer@gmail.com: > Hi, > > Apoorv writes: > >> There are a lot of libs that need to be added to LD_LIBRARY_PATH for >> my project to compile successfully. I do have gcc-toolchain added in >> the guix.scm file. I had to do a lot of trickery for the shell >> environment to work for me properly, using direnv, >> > > [...] > > Did you try the 'guix shell --container --emulate-fhs' trick I suggested > earlier? I guess it should just work. What is it that you are > building/attempting to run? > > Also, please keep guix-devel@gnu.org and participants in CC, so that > everyone can follow/participate (the easiest way to do so is to "wide > reply" from your email client). > > -- > Thanks, > Maxim > ------=_Part_19576_836004227.1704024643892 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, this is my first time using some mailing list.

I tried using `--container` and `--e= mulate-fhs` first 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.

This is my own project in Rust lang, I basically define= `guix.scm` for all my projects since I started using Guix.
<= br>
--
Sent with Tuta; enjoy secure & ad-free= emails:
https://tuta.com


=
Dec 30, 2023, 03:10 by maxim.cournoyer@gmail.com:
Hi,

= Apoorv <apoorvs@tuta.io> writes:
There are = a lot of libs that need to be added to LD_LIBRARY_PATH for
my= project to compile successfully. I do have gcc-toolchain added in
the guix.scm file. I had to do a lot of trickery for the shell
environment to work for me properly, using direnv,

[...]

Did you try th= e 'guix shell --container --emulate-fhs' trick I suggested
ea= rlier? I guess it should just work. What is it that you are
building/attempting to run?

Also, please keep= guix-devel@gnu.org and participants in CC, so that
everyone = can follow/participate (the easiest way to do so is to "wide
= reply" from your email client).

--
<= div>Thanks,
Maxim
------=_Part_19576_836004227.1704024643892--