On Tue, Nov 12, 2019 at 05:48:16PM +0100, zimoun wrote:
> Hi,
> It is not related with parallel download but on old machines "guix
> build --no-substitutes" can eat a lot of resources; for example if the
> package has a lot of dependencies. I would like to be able to list
> which dependencies I want to build and which I want to substitute.
> Maybe it is already possible.
> 
> Currently, I am doing:
> 
>   guix build `guix show PKG | recsel -R dependencies`
>   guix build PKG --no-substitutes
> 
> 
> What do you think?
> 

Not a true solution of 'guix build foo bar --no-substitutes baz' but for
your example you can do it in one line with:
'guix environment PKG -- guix build PKG --no-subsitutes'

-- 
Efraim Flashner   <efr...@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature

Reply via email to