all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Felix Lechner <felix.lechner@lease-up.com>,
	Fredrik Salomonsson <plattfot@posteo.net>,
	help-guix <help-guix@gnu.org>
Subject: Re: Best practice when dealing with a broken package for guix home?
Date: Thu, 18 Jan 2024 12:28:48 +0100	[thread overview]
Message-ID: <87cytyj2xb.fsf@gmail.com> (raw)
In-Reply-To: <87r0ig1y2b.fsf@lease-up.com>

Hi,

On mar., 16 janv. 2024 at 18:41, Felix Lechner via <help-guix@gnu.org> wrote:
> On Tue, Jan 16 2024, Fredrik Salomonsson wrote:
>
>>  Or how do you deal with cases when they happen?
>
> I maintain a custom Guix with patches on top, plus my own channel.

Well, for what it is worth, I think the good practise is to send
contributions when something broken on master is fixed and not keep the
fix in your own patched Guix version.

That said, I do not use “guix home” so my way probably does not make
sense.  What I do is that I have separated manifest files.  For
instance, I have emacs.scm for my Emacs stuff, ocaml.scm for my OCaml
stuff, compiler.scm for some compilers that I use, base.scm for all the
basic stuff as coreutils etc.

When one package is broken, it impacts only one manifest.  So it
mitigates the issue for upgrading.

What I am not fully happy is that “guix weather” does not have a
codified exit status.  It had been discussed [1] but no consensus.  It
would ease:

  guix weather -m path/to/manifests/foo.scm \
    && guix upgrade -p path/to/profiles/foo

Cheers,
simon


1: guix weather exit status?
Leo Famulari <leo@famulari.name>
Thu, 08 Jul 2021 16:35:03 -0400
id:YOdhd7FfMOvKjTQe@jasmine.lan
https://lists.gnu.org/archive/html/guix-devel/2021-07
https://yhetil.org/guix/YOdhd7FfMOvKjTQe@jasmine.lan


  reply	other threads:[~2024-01-18 11:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-14 23:11 Best practice when dealing with a broken package for guix home? Fredrik Salomonsson
2024-01-15  1:21 ` Felix Lechner via
2024-01-16 17:50   ` Fredrik Salomonsson
2024-01-17  2:41     ` Felix Lechner via
2024-01-18 11:28       ` Simon Tournier [this message]
2024-01-18 17:59         ` Fredrik Salomonsson
2024-01-18 19:18           ` Tomas Volf
2024-01-18 21:54             ` Felix Lechner via
2024-01-15  4:55 ` Carlo Zancanaro
2024-01-16 17:53   ` Fredrik Salomonsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cytyj2xb.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    --cc=plattfot@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.