summary refs log tree commit diff
path: root/gnu-system.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-07 23:52:35 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-08 00:01:13 +0100
commit9775412ee05d2510970d6ee842f42f3702b3c44c (patch)
treee876cda0d91ed15775bad91cf8cf6e17d41816cf /gnu-system.am
parent198d84b70bd26af1994c01fa1429f0e88991e896 (diff)
downloadguix-9775412ee05d2510970d6ee842f42f3702b3c44c.tar.gz
packages: Cache the result of 'package->bag'.
This reduces the wall-clock time of

  guix environment gnutls --pure -E true

by ~25%.

* guix/packages.scm (%bag-cache): New variable.
(package->bag): Use 'cached' to cache things to %BAG-CACHE.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions