all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart <jgart@dismail.de>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: Caching The Python World: guix shell --container
Date: Sat, 15 Jan 2022 03:24:29 -0500	[thread overview]
Message-ID: <20220115032429.GB16769@gac.attlocal.net> (raw)
In-Reply-To: <875yqlxwqn.fsf@elephly.net>

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



  reply	other threads:[~2022-01-15  8:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-15  7:30 Caching The Python World: guix shell --container jgart
2022-01-15  7:45 ` Ricardo Wurmus
2022-01-15  8:24   ` jgart [this message]
2022-01-15 11:25     ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220115032429.GB16769@gac.attlocal.net \
    --to=jgart@dismail.de \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.