From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aDTLJG+r/2Jr1gAAbAwnHQ (envelope-from ) for ; Fri, 19 Aug 2022 17:25:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CAqxI2+r/2Lr+AAAG6o9tA (envelope-from ) for ; Fri, 19 Aug 2022 17:25:35 +0200 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 443C5BFB3 for ; Fri, 19 Aug 2022 17:25:35 +0200 (CEST) Received: from localhost ([::1]:49382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP3sM-0000WO-GU for larch@yhetil.org; Fri, 19 Aug 2022 11:25:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3rs-0000WD-QL for help-guix@gnu.org; Fri, 19 Aug 2022 11:25:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3rq-0003uA-VC for help-guix@gnu.org; Fri, 19 Aug 2022 11:25:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EA001240105 for ; Fri, 19 Aug 2022 17:24:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660922699; bh=lk5pSFu/+wPt+xZXurIW4NkGcsvAig8HSrxr1mJFVGU=; h=From:To:Cc:Subject:Date:From; b=dQGpVjIkL6EM6S3twiEpf9Dxz9CV3ab1UoXED9ciPj3bPAWIZM5CwGZHOPx6xk8m/ plt94lXkOttuRJz8mzWfitzTUvIFm8cnXMnqnbVRU2hO1As1CKKdDb6nL78bYdaTMO xtT2rDEBvuW5/YcHf2dAHETU3+FBJGgO11rSoGkoR37Q4e176RZ09IQmUb/6o71O2x WUDkCOUCNEB5gwu5PxyW+MC1NMbHRyheDR6pW3r6AyERMqikLR1yysQj/Zwd7dOARw X1ubiRPiPtsh8KLlJcJfNbybmAgUiDNQgtF1O/Qux+6VQZHW4SARJUo8pjR6kE46RW apya+YCsxNARQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M8QY552pxz9rxY; Fri, 19 Aug 2022 17:24:57 +0200 (CEST) References: <871qtdures.fsf@codinator.mail-host-address-is-not-set> <87edxctxvw.fsf@kitej> <87k0749uwb.fsf@codinator.mail-host-address-is-not-set> From: Guillaume Le Vaillant To: Trev Cc: help-guix@gnu.org Subject: Re: sbcl-slime-swank won't load Date: Fri, 19 Aug 2022 14:49:55 +0000 In-reply-to: <87k0749uwb.fsf@codinator.mail-host-address-is-not-set> Message-ID: <87a680tfw7.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660922735; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lk5pSFu/+wPt+xZXurIW4NkGcsvAig8HSrxr1mJFVGU=; b=kgTXEe6CsfPUWviVvtEPsQKo5lUKuFEF/kyFK4ljvtNQ/XSsqDP3Zw/Ftcrm99MLOH4mOo J+NW7VtpLH3ZM9xRhTYZXPuVnbee33JZFEaPoeODV4RAmqHzGgViDt3TWeqR8iWaMZAIe7 CW1Sdz9qZJgD8jOhjBFO5rIrSwqwjvY/LtQUsH5t+rhBfIJKxZ1uePdbgc6U5E/7BDtk1n RhjEyftb/60dBVngBe+ZMlS8Hjq7I+xSsXaK01SXuAb51eCUhGw98N+dzHvmVb3Natg31Z j9KaCifcbBUO9bd6P7svUOFW2fa/0Zq7Ul0SrJ9MKc2u74bFRL+FaApUfmzv5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660922735; a=rsa-sha256; cv=none; b=QfQSByTsGItb/8iFud1BuK4r1meP/8sOHRDTyEX2JggTgfly/Ic73gzBxAlcNV2UtmBjdL ey3hUG4odVX3XkX7QdGXzJl4SpiELkLdHYJUo3WhdSN56ayjA4NAKgjZvNVOn55p0BTCkT i1PWA9Moi2/FfwfmNH/L+6qGxY2ylor+4nL+BVZl05JQh8i03ynV4KmpvfL8gFNwdn1+7L Gvalyr2CxVkFsZvottcgW2yyR7eMtiDa5d370jcBKYIsRE2jSlBdmb8RNxxIJT9PB6VmEq BCY+T76kQHJlQ9g59NgnjBjpSSR3GSrYOX8p3LTZbkzmQP4hja2BY4m8dUEL2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dQGpVjIk; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -4.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dQGpVjIk; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 443C5BFB3 X-Spam-Score: -4.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: iHI5ot3cO03o --=-=-= Content-Type: text/plain Trev skribis: > Guillaume Le Vaillant writes: > >> Is sbcl installed in your user profile or not? > > Not directly. It might be there as a dependency. Everything other than > stumpwm itself is installed in my guix home profile. > > In order for any of my stumpwm-contrib modules to work, I had to write a > gexp and an home-xdg-configuration-files service to link them to > ~/.config/common-lisp. > > Currently this is how sbcl-slime-swank is put into > source-registry.conf.d in my user profile. > > Here's the relevant code: https://paste.debian.net/1251005/ For the Common Lisp libraries to be found, the XDG_CONFIG_DIRS and XDG_DATA_DIRS environment variables must contain the paths to the profile where the libraries are installed. Something like: --8<---------------cut here---------------start------------->8--- XDG_CONFIG_DIRS="/home/username/.guix-profile/etc:..." XDG_DATA_DIRS="/home/username/.guix-profile/share:..." --8<---------------cut here---------------end--------------->8--- These variables are set automatically when sbcl is installed in the profile (they can be set by some other programs too). If you don't want sbcl in the profile, one or both variables might not contain the paths to the profile, and your guix-home config has to put them in. I've never used guix-home yet, but I suppose home-environment-variables-service-type can do that, and then creating a custom ".config/common-lisp" directory should not be necessary. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYv+rSA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9oTAEAjNq5KYpsn+OTCszzSwmfHNiW0NH0HvYHsdeC JIwQCUEA/Rq1C9ohgK2zI4JvhopaSbTF0H6WiZjA8KtfTOAtF/k9 =CTfz -----END PGP SIGNATURE----- --=-=-=--