From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#22571: Guix on Debian Testing sbcl package needs warning to set SBCL_HOME Date: Sat, 6 Feb 2016 03:49:03 -0500 Message-ID: <20160206084903.GF1432@jasmine> References: <87y4aycs21.fsf@mordocai.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRyZC-0001yh-KR for bug-guix@gnu.org; Sat, 06 Feb 2016 03:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRyZ8-0000Zj-K2 for bug-guix@gnu.org; Sat, 06 Feb 2016 03:50:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRyZ8-0000Zf-GU for bug-guix@gnu.org; Sat, 06 Feb 2016 03:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRyZ8-0000o8-2x for bug-guix@gnu.org; Sat, 06 Feb 2016 03:50:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87y4aycs21.fsf@mordocai.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Christopher W Carpenter Cc: 22571@debbugs.gnu.org On Fri, Feb 05, 2016 at 11:40:02PM -0600, Christopher W Carpenter wrote: > > I talked with mark weaver about this on #guix and he asked me to send a > mail. > > When doing guix package -i sbcl on my newly setup debian testing + guix > machine and then attempting to run sbcl I got the error: > > fatal error encountered in SBCL pid 7492(tid 140737354086144): > can't find core file at /usr/lib64/sbcl/sbcl.core > > Exporting SBCL_HOME=$HOME/.guix-profile/lib/sbcl fixes this for me. The > way this seems to be handled other places is by printing a message after > the package install explaining that this may be needed. There is a pretty good description of search-paths here: https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-package Basically, you can list the environment variables needed by the package in the package definition. Then, users can view them or set them automatically. There are some examples in the package tree. > > This seems like the appropriate thing to do to me. I'd love to submit a > patch if someone can guide me through it, I just started seriously > trying guix out today. I hope this helps. Feel free to ask for more help! > > Thanks, > Christopher Carpenter > > P.S. Please make sure to CC me in replies, I have not joined the mailing > list (yet).