aboutsummaryrefslogtreecommitdiff
path: root/gnu/build/vm.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-06-04 08:49:39 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-06-06 18:54:29 +0200
commita068ed6a5f5b3535fce49ac4eca1fec82edd6fdc (patch)
treed960a88da348a009eb5560eaba3dbae2dedfef0e /gnu/build/vm.scm
parent82b0e27de109b38ed44f67434a96460c4a7f9217 (diff)
downloadguix-a068ed6a5f5b3535fce49ac4eca1fec82edd6fdc.tar.gz
guix-a068ed6a5f5b3535fce49ac4eca1fec82edd6fdc.zip
scripts: substitute: Cache connection when looking for narinfos.
The process-substitution procedure is opening two distinct connections. The first one when looking for narinfo by calling lookup-narinfo and the other one when fetching nar files. Cache the connection when looking for narinfos so that process-substitution only opens one connection. * guix/scripts/substitute.scm (lookup-narinfo): Cache connection by using open-connection-for-uri/cached.
Diffstat (limited to 'gnu/build/vm.scm')
0 files changed, 0 insertions, 0 deletions
guix-package: Really register GC roots....Previously we'd pass a relative file name to 'add-indirect-root', which the daemon would interpret as relative to "/". Consequently, checkouts were not protected from GC. * build-aux/update-guix-package.scm (main): Pass an absolute file name to 'add-indirect-root'. Ludovic Courtès