[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caching The Python World: guix shell --container
From: |
Ricardo Wurmus |
Subject: |
Re: Caching The Python World: guix shell --container |
Date: |
Sat, 15 Jan 2022 08:45:57 +0100 |
User-agent: |
mu4e 1.6.10; emacs 27.2 |
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