Konrad Hinsen <konrad.hin...@fastmail.net> writes:

> Hi everyone,
>
> A package I am working on has the unusual property of having its source
> split into two repositories, for historical reasons. Building it
> requires a checkout of both these repositories. Is this possible in a
> Guix package? E.g. having two source repositories? Or downloading one
> separately?
>
> One way I can think of is having a dummy package that simply copies
> one repository checkout to its output. It would then become an input
> to the second one that does the actual build. But I am hoping that there
> is a more straightforward approach.
>

Hi Konrad,

IIRC, you can use origins directly as inputs:

(inputs
 (list
  `("name" ,(origin …))))

Then you would still have to copy the unpack phase though if its an
archive.

Have a nice day,
Noé

Attachment: signature.asc
Description: PGP signature

Reply via email to