[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caching The Python World: guix shell --container
From: |
jgart |
Subject: |
Re: Caching The Python World: guix shell --container |
Date: |
Sat, 15 Jan 2022 03:24:29 -0500 |
On Sat, 15 Jan 2022 08:45:57 +0100 Ricardo Wurmus <rekado@elephly.net> wrote:
>
> jgart <jgart@dismail.de> writes:
>
> > Is there currently a convenient way to tell Guix to build "all python-*
> > packages" and cache them?
>
> This should do it:
>
> guix build --keep-going -e '\
> (begin \
> (import (guix packages) (gnu packages) (guix build-system python)) \
> (fold-packages \
> (lambda (item acc) \
> (if (eq? python-build-system (package-build-system item)) \
> (cons item acc) acc)) \
> (list)))'
>
> This will build all packages with python-build-system.
>
> --
> Ricardo
Oh darn! Ricardo, THNX
You've been giving me some great tips :)
Much appreciated!
all best,
jgart