[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git guix checkout automation for contributors
From: |
Maxim Cournoyer |
Subject: |
Re: git guix checkout automation for contributors |
Date: |
Tue, 04 Oct 2022 23:18:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi!
>
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
>> (1) Install the guix system
>> (2) Log in as regular user
>> (3) guix edit nano
>> (4) It opens a file from /gnu/store that you cannot edit.
>
> At one point, I thought we could have, say:
>
> guix edit --clone PKG
>
> It would close the channel containing PKG, open the file that defines
> it, and then tell you to run “guix build -L … PKG” to test your changes.
>
> All this would be relatively easy to implement, but it has one downside:
> it doesn’t work for the ‘guix’ channel.
>
> Perhaps we could make it work for the ‘guix’ channel if we arrange so
> that “guix build -L … PKG” doesn’t end up loading all the local
> uncompiled guix/*.scm modules.
>
> Thoughts?
Interesting ideas.
If we decide to implement this, it should work from day one with the
Guix channel, as that's the main use case I believe.
--
Thanks,
Maxim