Re: What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet)

2020-09-11 Thread Andreas Enge
Hello Maxim, On Fri, Sep 11, 2020 at 02:22:44PM -0400, Maxim Cournoyer wrote: > +@cindex snippets, when to use > +The boundary between using an origin snippet versus a build phase to > +modify the sources of a package can be elusive. Origin snippets are > +typically used to remove unnecessary fil

Re: What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet)

2020-09-11 Thread zimoun
Hi, On Fri, 11 Sep 2020 at 20:22, Maxim Cournoyer wrote: > Yes, this sounds like it! How about the following section, to help > contributors decide between the two? > > --8<---cut here---start->8--- > 1 file changed, 14 insertions(+) > doc/contributing.texi |

Re: What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet)

2020-09-11 Thread Maxim Cournoyer
Hi Mark, Mark H Weaver writes: > Hi Maxim, > > maxim.courno...@gmail.com writes: > >> While trying to move some of the patching done to qtbase into a snippet, >> with the goal of having at least the ./configure script runnable in a >> guix environment without having to manually run patching phas

Re: What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet)

2020-09-11 Thread Maxim Cournoyer
Andreas Enge writes: > Hello Mark, > > On Tue, Sep 08, 2020 at 12:07:01AM -0400, Mark H Weaver wrote: >> > + (let ((coreutils #+(canonical-package coreutils))) >> > + (substitute* "configure" >> > + (("/bin/pwd") >> > +

Re: What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet)

2020-09-08 Thread Andreas Enge
Hello Mark, On Tue, Sep 08, 2020 at 12:07:01AM -0400, Mark H Weaver wrote: > > + (let ((coreutils #+(canonical-package coreutils))) > > + (substitute* "configure" > > + (("/bin/pwd") > > + (string-append cor

What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet)

2020-09-07 Thread Mark H Weaver
Hi Maxim, maxim.courno...@gmail.com writes: > While trying to move some of the patching done to qtbase into a snippet, > with the goal of having at least the ./configure script runnable in a > guix environment without having to manually run patching phases: [...] > + (snippet > +