From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id SHTSEUdqpGUh+gAA62LTzQ:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 15 Jan 2024 00:12:07 +0100
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id SHTSEUdqpGUh+gAA62LTzQ
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 15 Jan 2024 00:12:07 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=Rp3O0tDe;
	dmarc=pass (policy=none) header.from=posteo.net;
	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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1705273927;
	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:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=GD4bOYLQysXpkNRh+uVunc09+V0d2KxsR/JKgXzLvxw=;
	b=LBSpTHIpYTI/mhtYitjHLCMFtUU/EOyLGRT1wqFKznIclTlz3LvZlVgZCitGvWs4QLrnZo
	6P105tvEHCK2KLSC/bLXGuUbwx5GGXgUsry83Avp/hoxGQnsZpY/M5Is5vZ3WdGLcP6UyP
	V/hVAu/StSaI1NBx1i0PjqSfnzJYOvUxl8FiZrpxNb1rZ66X5aje2d0h4S1sK7VF/hMzpp
	CYiIyto1KkfYWBW2pltAufGc3BXWuxS0IbSNvDiU+PXf11uUJUpHZbAorG0UVYkR4ofQrF
	PWGAQAwKygb3Q8eeneuBjjRBgp2CBCI1pvAo4Ixnaa9BmsB2kF8xFrRVUnd4Hw==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705273927; a=rsa-sha256; cv=none;
	b=qDwmnbNPDFy+uhRH+9CR1KhIfLTJ+Eis6Vcx796vFihJRaPPdFeiwr9meUTMhAPK4xQvah
	bXKMTwfY5b5se6FMdq7asp/VoXVRs/tct6xIl+aDxpHg1J480Es9DJMKARDlMiRzyRl8GP
	C2yG31srWjPIJnECQYecEvW6i1G0El/7EKKDm9NZ0bAQg4mwU42wZvJzlmEphgMcqOKJg+
	NGtKju9WxAXCvkZ9TKWWxPr8jt0BotNvbmi00ysxbjX+5QpJlwfIonkYZJGiX1GUDpFf6P
	Gi7xCVz1gTpa2NUk4mJRcYgsWEUou7PMtJ4oFQ8ccg7lrtP5ZVHkzviX/yRslQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=Rp3O0tDe;
	dmarc=pass (policy=none) header.from=posteo.net;
	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"
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 B77B2269AC
	for <larch@yhetil.org>; Mon, 15 Jan 2024 00:12:06 +0100 (CET)
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 1rP9dq-0007xh-1D; Sun, 14 Jan 2024 18:11:46 -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 <plattfot@posteo.net>)
 id 1rP9dn-0007xV-Ph
 for help-guix@gnu.org; Sun, 14 Jan 2024 18:11:43 -0500
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <plattfot@posteo.net>)
 id 1rP9dl-00027x-Q8
 for help-guix@gnu.org; Sun, 14 Jan 2024 18:11:43 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 682A4240103
 for <help-guix@gnu.org>; Mon, 15 Jan 2024 00:11:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1705273898; bh=uP3Q/8r42aHezM5NjiD73E71i4JiuEtomXtX0ttj+ts=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:From;
 b=Rp3O0tDe5MnaR2/YsPf08nnyKzgeeZijgpcJxtE7DDXGOINt4BJZnxa4ug7nErznf
 uKb7uD2RzCi+YBqdL7qD7nzYo3PnqO1KqCwlYsozbJN1T2ejIaD4373Q6/bLrs8hyp
 0YUO/ZV09OTgA8wbfgqt1jlrzPNw8EHsDq5R421ic3rz3G2T0dwz1C6xLlfFzT9sLC
 Kw1dF2nRNHq37MFI6SGWFwEqcHay9WEg/SxboZJK+LFp4Pp1GK8HAE2p+UOuUsUQJm
 YtyFnpt/N2M5C79VOW7nN29tCGUJIwYLCqeD4tRJSf/EbjMT4rKwHeGwGmsvZ9yhZB
 q2PWLGBEObbUQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4TCrcn4Fy7z6tsg
 for <help-guix@gnu.org>; Mon, 15 Jan 2024 00:11:37 +0100 (CET)
From: Fredrik Salomonsson <plattfot@posteo.net>
To: help-guix <help-guix@gnu.org>
Subject: Best practice when dealing with a broken package for guix home?
Date: Sun, 14 Jan 2024 23:11:35 +0000
Message-ID: <87h6jfzf14.fsf@posteo.net>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net;
 helo=mout02.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 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-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-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Scanner: mx10.migadu.com
X-Migadu-Spam-Score: -7.27
X-Spam-Score: -7.27
X-Migadu-Queue-Id: B77B2269AC
X-TUID: yBktHawKI/2B


Hi,

Using guix home to manage my home environment is awesome.  But one thing
I haven't figured out is a good way of handling when one package is
broken.  As that effectively blocks any upgrade until that it is fixed.

There are generally three things I do in that case:

1) Temporarily remove it from my configuration if I don't use that
program that often.

2) Use `options->transformation` to pick a commit/branch etc that
compiles.

3) Copy an older definition that works to my custom channel, add a
prefix and use that until it is fixed.

If an issue isn't reported I usually send in a bug report with a patch
based on 2 or 3.  But most often someone else have reported it and I'm
just waiting on the patches to land upstream.

My question what is the best practice for this?  It feels that there
should be an easier/quicker way of handling this.  E.g. just tell guix
to use the definition of the current generation for that broken package
and continue with the rest.  Maybe something with the time-machine?

Thanks
-- 
s/Fred[re]+i[ck]+/Fredrik/g