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