From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
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 AKgNDskPmmSdgQEASxT56A
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 27 Jun 2023 00:23:05 +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 IN/8DckPmmQiZwEA9RJhRA
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 27 Jun 2023 00:23:05 +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 B1D0E17401
	for <larch@yhetil.org>; Tue, 27 Jun 2023 00:23:04 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1qDub9-0007Uw-BY; Mon, 26 Jun 2023 18:22:15 -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 <skyvine@protonmail.com>)
 id 1qDub5-0007UM-1O
 for help-guix@gnu.org; Mon, 26 Jun 2023 18:22:11 -0400
Received: from mail-40133.protonmail.ch ([185.70.40.133])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <skyvine@protonmail.com>)
 id 1qDub2-0002aN-T2
 for help-guix@gnu.org; Mon, 26 Jun 2023 18:22:10 -0400
Date: Mon, 26 Jun 2023 22:21:41 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1687818119; x=1688077319;
 bh=m4pyghuOsYwAPzxGUsIHbN71w7OH8eefv0bRYPEc1Ow=;
 h=Date:To:From:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector;
 b=AYQ7UdQzO+bR1PsEiA89G4N52FuQcALnMPUV4GFreLc8jyliOE8y1BcdhzQblT0YI
 Ro+55DDX+7hE+vj1yqvl4FTU+DATYSQZJzKR3EcUE0xR768ds1yPCJH4DLDG/Tv/Q0
 C6ZqvRMq6I0MNFkBNl/3BloHHB/jpytKX7lwedcSzXZBMpGZGXONrUr5nVCBrjC5LG
 C7UuYA1rYmyk3PU9o7su2Q9KBXWMxi1caZ5zB3y2tWRNvUOsTVPxxGnhFOkdhV1RiD
 ZnzRL96uWnQvRijQaPN9i0SAit9xqkayD83ix0Ykdre/5cj5mPde6hgaVoEU+tL+qU
 LuauI1D4VKS4A==
To: help-guix@gnu.org, Rodrigo Morales <moralesrodrigo1100@gmail.com>
From: Skyler Ferris <skyvine@protonmail.com>
Subject: Re: Newbie: How to edit a faulty package definition?
Message-ID: <2ff1e2a9-9325-f597-dfdb-56b3098235fd@protonmail.com>
In-Reply-To: <CAGxMbPZ7v3utzq4-jNcXAXi-Om3Y-UKsqLvZSUmOmF7Ej5LOYA@mail.gmail.com>
References: <CAGxMbPZ7v3utzq4-jNcXAXi-Om3Y-UKsqLvZSUmOmF7Ej5LOYA@mail.gmail.com>
Feedback-ID: 40635331:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.40.133;
 envelope-from=skyvine@protonmail.com; helo=mail-40133.protonmail.ch
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, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=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=1687818184;
	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:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=m4pyghuOsYwAPzxGUsIHbN71w7OH8eefv0bRYPEc1Ow=;
	b=bzeTeJ8FdtIRnPszT+7QGBxs/O+ebzHqK/Le2OWN29kUEivrO3U86ygHgLTT6lDeABG48s
	8A2XQZnnwHjKgwkb+KvF0vP7ClwKAoWkCTduSuzOY/PW/S//nXRCVU+zgTll4NpNWsZZFO
	Yv73WsjqJ+toh2BEaFkIgZqIcAluy/SZlyExK3WCCFAV0Rm+SYQEV4W748BtPeGaHq/l2T
	QSiH4W+zqnieFPmdMfD3WI/mYPuPTu7xivAVnfaOwwm3QDrhdxqCpAbXljSZ8bu/yq3M3o
	+gKGarNzSW6MKcoDNLafZfghXTksK19q1QgzlMkbiRXwwix01PySvq2HT/pW8A==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=AYQ7UdQz;
	dmarc=pass (policy=quarantine) header.from=protonmail.com;
	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=1687818184; a=rsa-sha256; cv=none;
	b=cZLuF0l3eBKlagL89mj8/Zw2q9y3R9+1x+3RkKhnk1mRWOTBIsetLYFOQLwJ3/tkUJROlB
	yMY6drIC1iKYbqRgftSiFMJuOCMlogY5GogBGh0hu0tKGftCnQ8fjz4378qszbUnvRHLHd
	3uq/NAxOQhHnqmPplwiEEQH7D7nZqsQ1C4Pw+1TbSW+dFCYvQ2j4EkacgjppBB6Qpn6b/o
	6wyMz/4+zBVob7RMxc+bO3rSuTLms0H8l4G+p4HA/ORLHqX6k2xUXk24/YGyuSoMoHSMM0
	q+R2OhKt4ARDx/a8DHxmL9i7jn0pJ6gYKVagemQTEwn0o2vJ8XUvIFqve9Ax5Q==
X-Migadu-Scanner: scn1.migadu.com
X-Migadu-Spam-Score: -5.45
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=AYQ7UdQz;
	dmarc=pass (policy=quarantine) header.from=protonmail.com;
	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: B1D0E17401
X-Spam-Score: -5.45
X-TUID: gN4oMf5KmFqq


> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>    The reason is that I'm currently using `guix home reconfigure' and
>    even though I use the `-L' flag, `guix home' gives higher priority to
>    `emacs-subed', so the build process fails and `guix home' can't exit
>    successfully due to that faulty package.
>

You can resolve the ambiguity using features available in guile itself.=20
The easiest thing would be to give it a slightly different name, such as=20
emacs-subed-customized, but you can still resolve it if you don't want=20
to do that for some reason.

Since you're using the `-L` flag, I assume that you put the package=20
definition in a file that defines a module. If not, see section 2.5.2 of=20
the guile manual (1). Once it's in a module, you can either import the=20
module with a prefix as described in section 6.18.2 (2) or you can use=20
the `@` syntax to tell guile to pull the symbol out of that module=20
directly; I don't see a full explanation of this in the manual right=20
off, but it would look something like this: `(@ (gnu packages emacs-xzy)=20
emacs-subed)`, except use the name of your module instead of the gnu module=
.

(1)=20
https://www.gnu.org/software/guile/manual/html_node/Writing-new-Modules.htm=
l
(2)=20
https://www.gnu.org/software/guile/manual/html_node/Using-Guile-Modules.htm=
l

Sincerely,
Skyler