[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'guix build' and garbage collection
From: |
Chris Marusich |
Subject: |
'guix build' and garbage collection |
Date: |
Sat, 01 Apr 2017 18:06:30 -0700 |
Hi,
I saw this in guix/scripts.build.scm:
--8<---------------cut here---------------start------------->8---
(and (build-derivations store drv mode)
(for-each show-derivation-outputs drv)
(for-each (cut register-root store <> <>)
(map (lambda (drv)
(map cdr
(derivation->output-paths drv)))
drv)
roots))
--8<---------------cut here---------------end--------------->8---
Here, we build the derivations, and then we add indirect GC roots. My
question is: what guarantee is there that the output paths will not be
garbage collected after we build the derivations but before we add the
indirect GC roots?
--
Chris
signature.asc
Description: PGP signature
- 'guix build' and garbage collection,
Chris Marusich <=
- Re: 'guix build' and garbage collection, Ludovic Courtès, 2017/04/02
- Re: 'guix build' and garbage collection, Chris Marusich, 2017/04/03
- Re: 'guix build' and garbage collection, Ludovic Courtès, 2017/04/03
- Re: 'guix build' and garbage collection, Chris Marusich, 2017/04/03
- Re: 'guix build' and garbage collection, Ludovic Courtès, 2017/04/04
- Re: 'guix build' and garbage collection, Chris Marusich, 2017/04/06
- Re: 'guix build' and garbage collection, Ludovic Courtès, 2017/04/07