[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build custom packages with cuirass.
From: |
Mathieu Lirzin |
Subject: |
Re: Build custom packages with cuirass. |
Date: |
Mon, 23 Jan 2017 00:42:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi,
Mathieu OTHACEHE <address@hidden> writes:
> I'm trying to use cuirass to build all the packages of my current
> manifest on top of guix master periodically.
>
> Some of my packages are custom, so I need cuirass to be aware of
> GUIX_PACKAGE_PATH env variable.
>
> The only way I found is to patch cuirass service (cf. following patch).
> Is this a good idea ? Is someone doing this kind of stuff here ?
A quick and dirty way to fix your issue would be to add the absolute
base directory name for your custom package modules in the '#:load-path'
part of you specification. However this will only work if your modules
names are '(gnu packages ...)'.
I guess Cuirass should handle this use case with '-L', '--load-path'
command line arguments like what 'guix build' does. WDYT?
Would you be interested in implementing this?
Thanks.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37