unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Building guix-modular with cuirass
       [not found]     ` <878t93nlha.fsf@gnu.org>
@ 2018-05-02 13:52       ` Mathieu Othacehe
  2018-05-09 22:05         ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Othacehe @ 2018-05-02 13:52 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel@gnu.org


Hey,

> In the near future, I want ‘guix pull’ to install a ‘guix’ binary as
> opposed to simply dropping a bunch of modules in ~/.config/guix/latest.
> At that point we won’t have this kind of problem anymore.

On the same topic, as I explained in a previous email
(https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00222.html) my
main use-case for cuirass is to evaluate my manifest and build the
corresponding packages.

I could use 'cuirass-jobs' procedure and set arguments to (#:arguments
(subset . "my-package-1" "my-package-2" ...)). The drawback of this
approach is that everytime the manifest is updated, a reconfigure of
cuirass service is needed to update the package list.

I'd like to have an upstream mecanism were cuirass evaluates a local
manifest file (or even better take it from a git repository), an build
all the corresponding packages. The only configuration input from the
user would be the path of his manifest.

My first idea would be to add a piece of code in
build-aux/hydra/build-manifest.scm that would pull a manifest specified
as an argument, evaluates the packages it contains and feed it to
cuirass but that sounds a bit hacky.

Any better idea ?

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building guix-modular with cuirass
  2018-05-02 13:52       ` Building guix-modular with cuirass Mathieu Othacehe
@ 2018-05-09 22:05         ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-05-09 22:05 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: guix-devel@gnu.org

Hi!

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> On the same topic, as I explained in a previous email
> (https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00222.html) my
> main use-case for cuirass is to evaluate my manifest and build the
> corresponding packages.
>
> I could use 'cuirass-jobs' procedure and set arguments to (#:arguments
> (subset . "my-package-1" "my-package-2" ...)). The drawback of this
> approach is that everytime the manifest is updated, a reconfigure of
> cuirass service is needed to update the package list.
>
> I'd like to have an upstream mecanism were cuirass evaluates a local
> manifest file (or even better take it from a git repository), an build
> all the corresponding packages. The only configuration input from the
> user would be the path of his manifest.
>
> My first idea would be to add a piece of code in
> build-aux/hydra/build-manifest.scm that would pull a manifest specified
> as an argument, evaluates the packages it contains and feed it to
> cuirass but that sounds a bit hacky.
>
> Any better idea ?

Perhaps we can make the package selection mechanism in
build-aux/hydra/gnu-system.scm a bit more flexible and export the
relevant procedures so you can write your own build-manifest.scm that
would just be a few lines and otherwise reusing what gnu-system.scm
already provides.

How does that sound?

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-09 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87a7tpc8vw.fsf@gmail.com>
     [not found] ` <87po2gyhem.fsf@gnu.org>
     [not found]   ` <87r2mwk0o7.fsf@gmail.com>
     [not found]     ` <878t93nlha.fsf@gnu.org>
2018-05-02 13:52       ` Building guix-modular with cuirass Mathieu Othacehe
2018-05-09 22:05         ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).