GNU bug report logs -
#31956
guix environment: add option to download and unpack source
Previous Next
Full log
Message #14 received at 31956 <at> debbugs.gnu.org (full text, mbox):
Danny Milosavljevic writes:
>> Not sure what to call it exactly, but something like:
>>
>> guix environment --with-source hello
>
> +1
>
> Right now, my silly workaround is to add a phase which fails
>
> (add-after 'unpack 'fail
> (lambda _
> (error "stop it")))
>
> and then do
>
> guix build --keep-failed hello
>
> and then do
>
> guix environment --pure hello
> cd /tmp/guix-build-hello*
>
> That's... very manual.
A very nice recipe...interesting we had a discussion about this today on
#guix. What I would really like, is for the --with-source directory
be a git archive, so that edits can be made and tested until it works.
Attempt a rebuild with new patches/new git commit and repeat.
Making repeated patches until a build succeeds is something I find
pretty cumbersome.
It could be an ad-hoc, new git archive. It would also be nice if Guix
could somehow record upstream sources as (shallow?, tarred?) git
archives.
janneke
--
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com
This bug report was last modified 6 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.