guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add rubygems updater.


From: Pjotr Prins
Subject: Re: [PATCH] Add rubygems updater.
Date: Sat, 2 Jan 2016 04:43:59 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jan 01, 2016 at 07:17:17PM +0100, Ludovic Courtès wrote:
> > I think we should update the package definitions so that more have
> > tests, and failing that import the library so we know it can at least
> > be loaded, like this:
> >
> > +     `(#:phases
> > +       (modify-phases %standard-phases
> > +         (replace 'check
> > +           (lambda _
> > +             (zero? (system* "ruby" "-Ilib" "-r" "ansi")))))))
> 
> The only case where this would make a difference is for leaf packages,
> no?  In all the other cases, building dependent packages will ensure
> that the package at hand works as expected.

Yes, this is a cheap and cheerful integration test. It does point out earlier 
where
packages don't load. I think it is a great idea because it is 'free'.
We could also do this for python packages and the like.

Pj.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]