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 wCH9FuZkhGVqVgEAkFu2QA (envelope-from ) for ; Thu, 21 Dec 2023 17:16:38 +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 KBYuEeZkhGW5aQEAe85BDQ (envelope-from ) for ; Thu, 21 Dec 2023 17:16:38 +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=LTXmcBvw; 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=1703175398; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NryJsjtvrh50bfa7xQREoiCoUuIksiWDIAW2IPJui9g=; b=b9pbSGLfi/nOHEmIzP8TOR+B/u3Cd/OF05IAgY264wshD2Jw4BS7LwAUaGssXi79oUQaKE n/FAdOop9EQJpwcl+puR/JyseO3BGwmzBLQqCxBKdbc9jS7DsD/lbhY5kavuuWubRTjNsZ dYqre/kSD/FO3+VLsuC2qkkf0iNBctyevXF39KoK2gsnuiy+Ygo4bncpzdg3gqtkRuETMP +PNsXNwlvRnfli1oyRkYIrzYtNYGP4JDnzFb9SCB4n6W8SlLTO0sP3itvD0Et/iWntannI Buuy9qzAfmZfVRwe1BaVoo01FjFo1wcZrmg98Efil+4WugMBiKIm8/wWV3GZ/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=LTXmcBvw; 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=1703175398; a=rsa-sha256; cv=none; b=qvThg/pIPeUMLsJWAUIAAy0Z6Ehwbwd0Jc83Vi8HMa98nqVJlNydHKnCwmaxmdtCDMpwTE CGPqcEDoRF2/78ABIWx5/VicdKuu8QybYfCY/AbKWiBOr+O6wtpTdhIc0UWKuSL2GtgsNz p2g3xwhG8Gk32N7GZwbubNkYvjisSldvHR+dmtOzo/n2vvKsSUg/M19etUfuQ8e6Hk+Z1X o4iZabbZu2WqiaawtkMasEvI8cYZcoqx26rKTT/VHood7tHtOax0tI+yhU2Va0S4Y9mSE2 P5q8UBtktsaf7QFARebbldN19pbIS1WiylLpcFvjaBxSKTPuL2/3i5U0hi23dQ== 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 3284F3A899 for ; Thu, 21 Dec 2023 17:16:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGLik-0007BF-6h; Thu, 21 Dec 2023 11:16:26 -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 1rGLdd-0005QY-Di for guix-devel@gnu.org; Thu, 21 Dec 2023 11:11:09 -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 1rGLdT-0008L2-Uw for guix-devel@gnu.org; Thu, 21 Dec 2023 11:11:09 -0500 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id 2660EFBFAB7 for ; Thu, 21 Dec 2023 16:10:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1703175056; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=NryJsjtvrh50bfa7xQREoiCoUuIksiWDIAW2IPJui9g=; b=LTXmcBvwKthQ0EwcyuNkwRcEi3vas/8AFj0qxebYgmmC+h67Sq90TixTpxcMucVh QCgKXFOme8uKBxwS1Mvw7Od0Ds3UqwinZNxsGdXVenm/htBH82evlT+Jfqfrj25dsZs vTFkHsmb1IjBt9+qis17/2VbNmHaCmSXCfWNDBLzhuQqxzgvXkj1FYPzTnqq4srVJDf bb070VwYmhZzSayKlP+iHW8V3eMsr562dCtuYM9P5vRpLQkL+YfXWIOppDK6wBMrRH2 mftUPcppjyTjmqg7NJXHJyDsBrfds5eOD8T0s+67mer5Osge4qPNbJKoafTknbc4jgk lo/Ca1xiHw== Date: Thu, 21 Dec 2023 17:10:56 +0100 (CET) To: Guix Devel Message-ID: Subject: Suggestion for a guix shell feature. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7703_21713281.1703175056149" Received-SPF: pass client-ip=81.3.6.162; envelope-from=apoorvs@tuta.io; helo=w1.tutanota.de 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, HTML_MESSAGE=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-Mailman-Approved-At: Thu, 21 Dec 2023 11:16:25 -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: -6.44 X-Spam-Score: -6.44 X-Migadu-Queue-Id: 3284F3A899 X-TUID: SO7IMk+LY69J ------=_Part_7703_21713281.1703175056149 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I want to make a suggestion for a feature for guix shell. I was recently writing guix.scm files for my projects and was having proble= m with the libraries I added, not being found inside the shell. After strug= gling for hours I finally learned that that the LD_LIBRARY_PATH=C2=A0 is no= t being updated automatically inside the=C2=A0 guix shell environment so th= e libraries can be found easily. So my feature suggestion is that maybe we can have a flag or a option for g= uix shell, something like --add-ld-path or --update-ld-path for example, to= add all libraries specified in the guix.scm or even as sub-command guix sh= ell --add-ld-path mesa as an example, to automatically update the LD_LIBRAR= Y_PATH environment variable to contain the correct paths to these libraries= so they can be found easily inside the shell. -- Sent with Tuta; enjoy secure & ad-free emails: https://tuta.com ------=_Part_7703_21713281.1703175056149 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I want to make a suggestion for a feature for guix shell.

I was recently writing guix.scm files f= or my projects and was having problem with the libraries I added, not being= found inside the shell. After struggling for hours I finally learned that that th= e LD_LIBRARY_P= ATH  is not being updated automatically inside the  guix shell en= vironment so the libraries can be found easily.

So my feature suggestion is that maybe we can have a flag or a option for= guix shell, something like --add-ld-path or --update-ld-path for example, to add all libraries = specified in the guix.scm or even as sub-command guix shell --add-ld-path mesa as an exam= ple, to= automatically update the LD_LIBRARY_PATH environment variable to contain the corr= ect paths to these libraries so they can be found easily inside the shell.

--
Sent with Tuta; enjoy secure & ad-fre= e emails:
https://tuta.com
------=_Part_7703_21713281.1703175056149--