From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OEtyKJOM9V/hTQAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 10:10:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yAE/JJOM9V+1QAAA1q6Kng (envelope-from ) for ; Wed, 06 Jan 2021 10:10:27 +0000 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 59EFB9404E1 for ; Wed, 6 Jan 2021 10:10:27 +0000 (UTC) Received: from localhost ([::1]:47548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx5lq-0008PN-6z for larch@yhetil.org; Wed, 06 Jan 2021 05:10:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx5lI-0008P9-TJ for help-guix@gnu.org; Wed, 06 Jan 2021 05:09:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]:55172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx5lG-0006Yw-Kf for help-guix@gnu.org; Wed, 06 Jan 2021 05:09:52 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A747B16005C for ; Wed, 6 Jan 2021 11:09:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1609927786; bh=wi4OSJ+wdVu5Gy5Yb+vxG+5ma/P46DRR22HjPkp49vw=; h=From:To:Cc:Subject:Date:From; b=jQu8ECPEli6fRWI3dV5IQhJGY2ljExKi+3+A85NJCk7c7imXcBQrrtWYt/dc9CvF/ zQGqOUMU8WSAVSNOEYHzLK0JgwIKpeOTBsV+JHzAhJnnsY9NZoblpPN9ZmBFIiNMAd ccKw/HPVepLZ8Xm6WeQJTBt+g6gqnx0Btj1JkiLJj0AXraSLbHeYSNREeyO9UO9MCk 2s1QesVSaux5CBEyKRa5DQnRb0ddkrzCAYsZuusztOMkRYPFOjjjxTMMkKpiob8/43 JXGehyr+XjfpLLPOTubzTKPZ6jn4+7UH9ro+/lHTSY6PzSGj6XVXPpThfzFVXi7dqB KRwbQS/zZcuFw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D9lTg3Yf6z6tmD; Wed, 6 Jan 2021 11:09:43 +0100 (CET) References: <878s97ukes.fsf@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant To: Katherine Cox-Buday Subject: Re: stumpwm contrib modules have been broken In-reply-to: <878s97ukes.fsf@gmail.com> Date: Wed, 06 Jan 2021 11:09:33 +0100 Message-ID: <87k0sq74wy.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.84 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=jQu8ECPE; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 59EFB9404E1 X-Spam-Score: -2.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: ShCOloDhsf0s --=-=-= Content-Type: text/plain Katherine Cox-Buday skribis: > Sometime recently, the way Common Lisp code is compiled was changed (for > the better, I think), and now my StumpWM contrib modules won't load. > Here's why: > > StumpWM looks[1] for .asd files to determine what is a module. Guix's > Common Lisp build system used to combine an entire system into a single > .fasl file and then produce a .asd file for loading it. Now -- as far as > I can tell -- it looks like `lib/common-lisp/sbcl` is more like the > Common Lisp cache: one .fasl file per .lisp file. > > If I point StumpWM at `lib/common-lisp/sbcl` via `set-module-dir`, it > finds no modules. If I point StumpWM at `share/common-lisp/sbcl`, it > finds modules, tries to compile them, and then gives me a permissions > error about writing to the `/gnu` store. > > Is anyone using StumpWM contrib modules successfully with Guix's new > layout? How? > > [1] - https://github.com/stumpwm/stumpwm/blob/master/module.lisp#L70 Hi, In my StumpWM init file, I use '(asdf:load-system ...)' instead of '(load-module ...)' to load the contrib modules that are installed in my Guix profile, and it works. I'll see if I can find a combination 'set-module-dir' and 'add-to-load-path' that makes the 'load-module' function work correctly... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX/WMXQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/nugD/VPgYalMLVN1kZh4zgPzS1Y4EB8gqFl8snCmu tSRqkDsA/1SnlOH4n8xOloEI+Yh39yPeAViNFDcWjpHxWYF2L2q/ =GNZp -----END PGP SIGNATURE----- --=-=-=--