summaryrefslogtreecommitdiff
path: root/guix/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-16 10:26:46 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-16 17:30:21 +0200
commit3961edf2304bcff4c402a29868f8c559a03c0663 (patch)
treeecf18e83bd454f75e1ca12dc21554f7193e21296 /guix/derivations.scm
parentb744862704241f2ceb5b64fabccf5bff2a8fd781 (diff)
downloadguix-patches-3961edf2304bcff4c402a29868f8c559a03c0663.tar
guix-patches-3961edf2304bcff4c402a29868f8c559a03c0663.tar.gz
store: Memoize 'built-in-builders' call directly in <store-connection>.
The caching strategy introduced in 40cc850aebb497faed0a11d867d8fcee729023df was ineffective since we regularly start from an empty object cache. For example, "guix build inkscape -n" would make 241 'built-in-builders' RPCs. * guix/store.scm (<store-connection>)[built-in-builders]: New field. (open-connection): Adjust '%make-store-connection' call accordingly. (port->connection): Likewise. (built-in-builders): Rename to... (%built-in-builders): ... this. (built-in-builders): New procedure. * guix/download.scm (built-in-builders*): Remove 'mcached' call.
Diffstat (limited to 'guix/derivations.scm')
0 files changed, 0 insertions, 0 deletions