From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IH2IKqT+l2So2AAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 10:45:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AKd0KqT+l2SQlgAA9RJhRA (envelope-from ) for ; Sun, 25 Jun 2023 10:45:24 +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 42A794AC4 for ; Sun, 25 Jun 2023 10:45:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDLMb-0007vj-6y; Sun, 25 Jun 2023 04:44:53 -0400 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 1qDHp1-0004t8-Rq for help-guix@gnu.org; Sun, 25 Jun 2023 00:58:00 -0400 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDHp0-0007ns-As for help-guix@gnu.org; Sun, 25 Jun 2023 00:57:59 -0400 Date: Sun, 25 Jun 2023 12:57:59 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1687668878; h=from:from: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; bh=8N3ZunWVXzTC4Pm5nbxZjjkTQxG0Pxfw+C/UzrYKqSo=; b=rBMhfP7ZyACShiThmYb35dh/I4y6ekbMPaEwbSPicNwq2tLR6f1vWnAtrpALhiB9jPuuIF 6Pp36OtqR9KK5yZBfBRgoXcheyPmoqHbxo1th4rRft/toGQr92T+rH53GL836/QUrR0Qq4 m0W/mL9NKJPKYQOfsTtLybPrkFhO88at+2pp7eYT/kUth8aT/RbZJI7GFWqmLdP2EzcXku 5HJdvl+29gdIyJ395zjfs/Dlv0JZy2eH/xGgbsXAIRWexPp81IKnnaBFafKOQ90pOFJy3L 7hSGxcYoicJTidSiTY3Bq+UWQkbcVCHvSg7iOQo1QC4mL63zjrkleJa847FaEg== Message-ID: <87leg8kujs.wl-hako@ultrarare.space> From: Hilton Chain To: Rodrigo Morales Cc: help-guix@gnu.org Subject: Re: Newbie: How to edit a faulty package definition? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: + Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Mailman-Approved-At: Sun, 25 Jun 2023 04:44:50 -0400 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687682724; 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=8N3ZunWVXzTC4Pm5nbxZjjkTQxG0Pxfw+C/UzrYKqSo=; b=bVh0IMyvbUHl0idsASALlUoBo3dv58EXzh6pd3ccTgcXMTWnqaGRID8mTksq4mR/CEbEhA IieWWS0QzaYpkcBVy6OU7jsKa8Yt9fgnASUPABOoRlouq/iZ0UnG3TVJ7WRvNwhj1Afkzy kNVJtCxcqo8PnphJjdJNAyMFjPOGfFk9VdFyeCJ6BzvooWE1WhbjrvQz7tn0ZWSlRGeqy6 nFyEvuUZV/4zgMrRiwnebsuoBGGsouYGc8Z/hFFJY6YtaidqyinaqM71iq7Onz64QnNB22 3cTtxHu3m3kbajBrnu5yeFUFThy5i7LKEUebUCp9O0e6VLCRdMMXsa0KdoqexQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ultrarare.space header.s=dkim header.b=rBMhfP7Z; dmarc=pass (policy=reject) header.from=ultrarare.space; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687682724; a=rsa-sha256; cv=none; b=C+CX4DfYuGN/sGzFc0UiqqLhAD8/e1v+p7VMbVQsqpYLXiiUS54vPkTcigOdE766++qJfe PGRR1xn4Gu+I9F71i+NOZdVJHYGZiP3IIccmc4/4ZIC/WahWI0ww0fSNdCHUQcUJR8Xbfu k9QjIa9JwcmVH9+dQdXz5RSTR0inBxTT56E0LqccphqyjKqMINCgJ1kHmViEEmpsSvZxhm Xwdi6I3kgp1EoOeLFHBk1+kfrzLo2KyUR7nTkK5tV/p9ptgilzYuvZsGFJYzGoQ4dNwMC5 PVOubDflCRsKHo1ZdWJoSD5Gp5KmvdcPwAUL+WkeGhuqaYgRpUKJ0eo8o6/RnQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ultrarare.space header.s=dkim header.b=rBMhfP7Z; dmarc=pass (policy=reject) header.from=ultrarare.space; 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: 42A794AC4 X-Spam-Score: -0.75 X-TUID: IV/ji6/Q4FA8 Hi Rodrigo, On Sun, 25 Jun 2023 11:30:42 +0800, Rodrigo Morales wrote: ... > | (define-module (my test-2) ... > | (define-public emacs-subed > | (package > | (name "emacs-subed") ... > The main topic of this thread could have been: How to make "guix home" > give higher priority to a path specified through the `-L' flag? But I > decided not to ask for help on `guix home', because there are less > "guix home" users than Guix users, so I might need to wait > significantly more to get some help. I'd rather learn how to edit > package definitions and make `guix package -i' aware of that. I've > opened another thread on a question related to "guix edit" [here]. I have a solution but not about priorities. The solution depends on how you add packages to your home environment. If you are referencing them as variables, you can change the variable name of your package, or directly referencing it with (@ (my test-2) emacs-subed). If you are using the specification->package procedure, you can change the name field of your package definition.