From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MF1EH94UqGOVAwAAbAwnHQ (envelope-from ) for ; Sun, 25 Dec 2022 10:16:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WAlJHt4UqGO/XgEAG6o9tA (envelope-from ) for ; Sun, 25 Dec 2022 10:16:14 +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 23C9F3B13B for ; Sun, 25 Dec 2022 10:16:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9N6C-00033V-1N; 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 1p9LeT-0001hs-2q for help-guix@gnu.org; Sun, 25 Dec 2022 02:42:33 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9LeQ-0001rm-Uk for help-guix@gnu.org; Sun, 25 Dec 2022 02:42:32 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3958F5C00D2; Sun, 25 Dec 2022 02:42:25 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 25 Dec 2022 02:42:25 -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=1671954145; x=1672040545; bh=hAF54WQRS4 DoiwFSLV73gkMGcIsz4qjd7hAHfNTN6cU=; b=uH+rCPB7jO5w50Cc4Xvb38q+bE yDZkvnr2XzGcqeZTT6ZhwzA2PHyh0hp2iWm53NGFvNNcC6JseYMyGF+roJk9xUgd 37YfXFDOtftia/5hWrrIejI3K3cJsRETmdYQUM6wK7wv4inr8OGExUrj5llTMaXi GGWtsiyhrB5SutPIpyAnevSLiBUeePI7SdPWMq3li5zl+h7G09cdgC6ic/IDwsdY XZ2PFc4lJZlHXS/6w252V6KS13T40JmQkrzWYbFtXr6WGv5oLCBrBLmNNryTslTh t0F69efPuh4rm4t5nR2Ikn6SadZZsdeGY6pIZny1FS8uboh0M7ANpW7+Bx9Q== 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=1671954145; x=1672040545; bh=hAF54WQRS4DoiwFSLV73gkMGcIsz 4qjd7hAHfNTN6cU=; b=jzm+fFAMD9ty80inMT6r/EYaoGuc36zal/eRxdIqpPBH 1SRTFLIGkmMVGAhsU7Pi7IlVz47/56eDBJQCEtZsrov8x57UFEKXVSaKeOMP5WY/ B4i+Um8+GgweLElycd8uvyfiFWgz+mXr8zxrJNTOpsWQX0gBJrd3fP80ZtLBWCNO eOjWjovldFGybjAbtHy1nNCKlfh2ji7AnPhudGvyGFelCicUo7/eQ+qSz74QenbO JTYtMBY995Na/8M5Ud3DX7zAP53FQ4B7TuR9obbvGkp1s28Qb9gWr/nk1TcJyinp vfwghifwAgGlq3ABY54FyR37+S1KJ3m1s4sNh0LWBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrheehgdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefvrhgvvhcu oehtrhgvvhesthhrvghvuggvvhdrtggrqeenucggtffrrghtthgvrhhnpeduffehheefff efgeelueegieejhfduhfdttdeuudegveduffethfeileekheduveenucffohhmrghinhep ghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehtrhgvvhesthhrvghvuggvvhdrtggr X-ME-Proxy: Feedback-ID: i762946f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Dec 2022 02:42:24 -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 23:41:54 -0800 Message-ID: <87ili0ylod.fsf@guix.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=trev@trevdev.ca; helo=out5-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, 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=1671959774; a=rsa-sha256; cv=none; b=bA4aLlHqIoHU6fowdnxl08MBIG9Hpbz2JDftqx954N06jieGb6R9aES+fme0wwxsU7Wlee vrv/NepKCWq8CRZ5/7wcANadkGWSqYX78tkJeZQXhKYXVi295m1J9Cckve61cqevRWZKQN MvMqHrEWPafqvD3LDtyDHltmuXasUPkKZBiU2PagG2xIfuhX+K3CBmdApeRxH8Upka7rvW 36oYKtMFfR4IGXcx4OmIPIX2NtUrha17LozoBxcXJqvFhAfZS40YEiSAc4rbZ2XdiKfRpa wYDZMuq2nj3kWKWGBjeULa6PDCDvg49pJS5NNpKWXrSDxHy6Y1Fbhsik2OdMSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trevdev.ca header.s=fm3 header.b=uH+rCPB7; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=jzm+fFAM; 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=1671959774; 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=hAF54WQRS4DoiwFSLV73gkMGcIsz4qjd7hAHfNTN6cU=; b=VvCsI5YguFifNVKeGqKEbSJ7GMFfV1YYifxrzgSdvVyF+S6vmcMQZv2EU0o7/bXTxrI8C1 I2ZL5QXtR4M1GeWokzUod0xow2qpNg0jeL5OwEoba+0dAeQSibFiqjXODnwtB14Jrn81dy qRnUhWp/WwKhYgLOg9hUAY8xvPoiCkcw+TvxmAYZQifwQD7gDZh6UXU9meFMCif4DvpN0j zGMN0coVuGxqzg0eO8Exzhx5nYxTHS1c+9IHJPKsGOpxPwxRUIfQREQ0Fp2ZoLOiV3jCQG 7htadpret9NECJ5HDmZJKpSnDG4YGQ+z9Z5/QVnzcWK55pV11Ty3NBfEl6rpqg== X-Spam-Score: -3.22 X-Migadu-Queue-Id: 23C9F3B13B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trevdev.ca header.s=fm3 header.b=uH+rCPB7; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=jzm+fFAM; 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: -3.22 X-TUID: KquAgtFErzCl Paul Jewell via writes: > Good morning Guix, > > I have a working stumpwm config which I use on my desktop gentoo > installation, and I want to use the same configuration file under guix. > Unfortunately I run into a problem as when stumpwm starts, it complains > it can't find package "ql". Quicklisp is installed in my user home > directory, but this is clearly not being seen by stumpwm. I also note > that packages I can install through quicklisp are also packaged in guix > (e.g. alexandria). When I start sbcl in a terminal, everything works as > 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! -- Trev : 0FB7 D06B 4A2A F07E AD5B 1169 183B 6306 8AA1 D206