[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building many packages in order
From: |
Efraim Flashner |
Subject: |
Re: Building many packages in order |
Date: |
Fri, 21 Oct 2016 14:53:02 +0300 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Fri, Oct 21, 2016 at 12:56:08PM +0200, Hartmut Goebel wrote:
> Hi,
>
> testing the new python build system I’m seeking for some way to build
> *many* packages in order.
>
> Of course I can just run `guix build` with the list of packages to be
> build. But when building all python packages, the list gets rather long
> and does not fit into one call of `guix build` (due to the number of
> arguments xargs passes to the command is restricted). Thus only
> partitions of the packages are build in order.
>
> So I need some way for passing *all* packages to be build to `guix build`.
>
> Any hints?
>
If you want to build all packages that are python- or python2-, then you
can call 'guix build $(guix package -A ^python | cut -f1)'
If you want all the packages that rely on python or python-2, then you
can call 'guix build $(guix refresh -l python address@hidden | cut -d':' -f2)'
Both of these as written will stop when they encounter a package that
doesn't build. I'm sure there's also a scheme-y way of doing it.
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature