From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KA3NFt0UqGP6OAAAbAwnHQ (envelope-from ) for ; Sun, 25 Dec 2022 10:16:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qM7SFd0UqGNqYgEAG6o9tA (envelope-from ) for ; Sun, 25 Dec 2022 10:16:13 +0100 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 02BD012FE5 for ; Sun, 25 Dec 2022 10:16:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9N6C-00033X-66; Sun, 25 Dec 2022 04:15:16 -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 1p9Bwo-0003Pm-AO for help-guix@gnu.org; Sat, 24 Dec 2022 16:20:51 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9Bwm-0006V0-6I for help-guix@gnu.org; Sat, 24 Dec 2022 16:20:50 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D06EF5C0087; Sat, 24 Dec 2022 16:20:46 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 24 Dec 2022 16:20:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trevdev.ca; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1671916846; x=1672003246; bh=haZavZsDLo NTZEa2bOGG3fwj5HuDC3T7uk+YozlDCrY=; b=XflG67qJDHTTp+bjU6A3EvSWvb +8ylzQpwKxOonVfmGNmANTFPF77JhtVsIELwJpZM5ambIQfM+d/g+p/wkhNdwepP 4Kr0W0jv5Bd12TFa4fz6Gzrm/Xoc+AFUSRnO7JM8TJsARyNWumtEKgW8/3PDbD3X iPvExcjGUAcLhEXBtg6wTITodN7zPCLxRsfr/kErMFz1uBP4yeMF/1tTz9CqNHjx kqQIO2EX0/fMsvtJ7svu41uxmzWdj55NMWvVPHRWkfR1XDL1dQzs8f6KK6jJ/kOK kCumXT/xmJzrq/cgTiT4/WiyOeuPTdz5al+IbbTZWnIWFnvnC+toyDxGSiYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1671916846; x=1672003246; bh=haZavZsDLoNTZEa2bOGG3fwj5HuD C3T7uk+YozlDCrY=; b=mBJZqGHRxqmNh2xx42sS5ElONpEu8OPBwdY2YWlMVNAt tMqQUJKKp1dhFdNFnbZatI1zVRciE8wM0AayQWG1D4cgQunYb8TaEMSAj3kmhpzH tbQ/Jqcf/ht+xUiHEjjUuoYEeX/lB1Ap5a3X+3nII8nkScwKuyNgTf70aqUlmNNT eUlemkoRzT5f5+if+0TBCjpmCZot6q6/KdjWLD+FqS1BZYcQfHS847Xf5XkjismZ 5q/akmkeBLEj0YcXnzC/uQQU3Bz8cEK0/DIuIleao7F/T+ZQMLo5Ddp820WdO4Wu JGKyjrlcFEE8xZKzl6snIXOmP3wTTQqGEPAcsEDF1A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrheeggdduhedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpefvrhgvvhcu oehtrhgvvhesthhrvghvuggvvhdrtggrqeenucggtffrrghtthgvrhhnpeettdejvdegje eigeduieejieekhedvtddvffffkeevveegtdetudfftdeguefggfenucffohhmrghinhep ghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehtrhgvvhesthhrvghvuggvvhdrtggr X-ME-Proxy: Feedback-ID: i762946f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 24 Dec 2022 16:20:46 -0500 (EST) From: Trev To: Paul Jewell , "help-guix@gnu.org" Subject: Re: Stumpwm & using Lisp in guix - particularly quicklisp In-Reply-To: References: User-Agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Sat, 24 Dec 2022 13:20:37 -0800 Message-ID: <873594xzve.fsf@guix.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=66.111.4.27; envelope-from=trev@trevdev.ca; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 25 Dec 2022 04:15:14 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671959773; a=rsa-sha256; cv=none; b=sNeLIHh9JTNgdAnjnJ6rpEo3UXT+9q8o73vG1lsvDQkzlW1Hq+pwPNYqyFipnDQXkjoQqX ictSxv9IzmwT8/hZZnEw7YUoavGDJXNcdmP5Zw5F8YBpC2uEhEKGpuMEusHn7j5OMWrfZd mHiPnyEOVuqay6A4BCnnM/Sn6vmJLWkPCTTILTU82joNWokH5p6sVDY7ehRdb+eBIOOeE2 AK8hQv/7JrYW3rBQ7CWjlCenemSDZeK2wTz71+2WnTO9UFpIoigi7iN02i5i0zDVGzBGkj aCE1PBAelxfISbJi45wLMP4q7Bd09vf8efIWtuhZX1BUeJrgczf/j3ExtKXBVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trevdev.ca header.s=fm3 header.b=XflG67qJ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=mBJZqGHR; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671959773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=haZavZsDLoNTZEa2bOGG3fwj5HuDC3T7uk+YozlDCrY=; b=QaYUPiLGlDz7MYb9n6Dk+NAF9OpDgJW28/j1FTEStwOHKeovWnd37EwqZsdnWOJyRj685d jrBfcnTgcDUfAc7w6jMAoOqZk9zIftV48xusaK6N160khowma7BX+YvqpDJToowyj6ZhGc yVTSK2sk3JNySdZ6mHnUY4s70SVV7P0RVFTvp2iAOTcg6+m5oONY9WCbetkwcRRVOzlQMp jAX8c1EOjT1nqjnQhUgJy0D4aVP6awtr3S2l+OIWyi74rX4yuucjiPvJwSdtRTSMCTg3S2 /Osxl9ucBcV2RlNKOmvy4w7NwGRMRoA+ZXidjdqstC9KARwFCks8K9sNvcWzQA== X-Spam-Score: -4.72 X-Migadu-Queue-Id: 02BD012FE5 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trevdev.ca header.s=fm3 header.b=XflG67qJ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=mBJZqGHR; 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"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.72 X-TUID: whLOfyfsZbgx --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Paul Jewell via writes: > Good morning Guix, > > I have a working stumpwm config which I use on my desktop gentoo=20 > installation, and I want to use the same configuration file under guix.=20 > Unfortunately I run into a problem as when stumpwm starts, it complains=20 > it can't find package "ql". Quicklisp is installed in my user home=20 > directory, but this is clearly not being seen by stumpwm. I also note=20 > that packages I can install through quicklisp are also packaged in guix=20 > (e.g. alexandria). When I start sbcl in a terminal, everything works as=20 > expected, and quicklisp is seen. > > This leads me to some questions: > > * How do I configure stumpwm on my system so it looks in my home > directory, and observes my .sbclrc file when starting? > * What is the guix recommended way for working with lisp packages? > Should I avoid using quicklisp, and instead use the provided > packages in guix? I am unable to find any documentation (either > official or blog posts etc) explaining this. > > Many thanks! I have no experience with quicklisp and am new to Common Lisp in general, but I do use guix and am getting happier with every hack I make on stumpwm and I can tell you what has worked for me: 1. Use the supported asdf system that Guix uses to package lisp programs and extensions. 2. Install your stumpwm, repl & extensions in the same profile, be that profile your system or your home/user space. This helps a sbcl find everything. 3. If you want some divergent profile to pick up all the bits from your system or home profile, make sure to include them all in that divergent profile. An example of this is I used to have stumpwm in my root system because I wanted GDM/convenience. I then wanted all other related 3rd party scripts to be contained in my home profile. To make this work I had to declare all the same dependencies in my home profile as I had my root system. The source code is your best friend for learning how to package/implement the asdf build system. You can also check the documentation for build systems in general: https://guix.gnu.org/manual/devel/en/html_node/Build-Systems.html For the most part I have been able to find everything I needed from the official guix repository. I have contributed back the things I could not find wherever it seemed appropriate. For everything else, I have my own personal guix channel. I do this to avoid the need for activating guix shell over and over again. I get that quicklisp is an expected way to manage 3rd party packages for Common Lisp but after years of working with NPM & JavaScript, the idea of quicklisp turns me off. Rant over, I hope this helped! =2D-=20 Trev : 0FB7 D06B 4A2A F07E AD5B 1169 183B 6306 8AA1 D206 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQTXT7EGCbVt/Iwh9m+FRs+EoT3V7wUCY6dtJRAcdHJldkB0cmV2 ZGV2LmNhAAoJEIVGz4ShPdXvW+8BANvOYz5XBG5KnXXynED0CUYXE7SS20FRbp7G X1r20ZEaAP9B+DUmAkxGFTVYkmkp/HPlaL/O5MaPmbPkBs5WGQzMCw== =5uKv -----END PGP SIGNATURE----- --=-=-=--