[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What should "guix build --source" produce? (was Re: Dependency cycle
From: |
Andreas Enge |
Subject: |
Re: What should "guix build --source" produce? (was Re: Dependency cycle issues when using a Gexp-based snippet) |
Date: |
Tue, 8 Sep 2020 09:22:49 +0200 |
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 coreutils "/bin/pwd")))
> > + (substitute* "src/corelib/global/global.pri"
> > + (("/bin/ls")
> > + (string-append coreutils "/bin/ls"))))
> > + #t)))))
>
> In my opinion, "guix build --source PACKAGE" should produce sources that
> can be used to build the package on any system that the upstream package
> supports, not just on Guix systems.
that sounds good to me, in particular taking your subsequent arguments into
account. Guix sources could be just as useful as Debian sources in this
respect. Could this not be the elusive boundary between preparing the source
and adding a phase to the build arguments?
Andreas