Re: “guix gc”, auto gcroots, cluster deployments

2021-06-08 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > Ludovic Courtès writes: > >> Hi! >> >> Ricardo Wurmus skribis: >> >>> There are two problems here: >>> >>> 1) I don’t think “guix gc --list-dead” (or “--list-live”, or more >>> generally “findRoots” in nix/libstore/gc.cc) should delete >>> anything. It should jus

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-14 Thread Ricardo Wurmus
Ludovic Courtès writes: Hi! Ricardo Wurmus skribis: There are two problems here: 1) I don’t think “guix gc --list-dead” (or “--list-live”, or more generally “findRoots” in nix/libstore/gc.cc) should delete anything. It should just list and not clean up. Maybe ‘findRoots’ could popul

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-11 Thread Ludovic Courtès
Hi! Ricardo Wurmus skribis: > There are two problems here: > > 1) I don’t think “guix gc --list-dead” (or “--list-live”, or more > generally “findRoots” in nix/libstore/gc.cc) should delete > anything. It should just list and not clean up. Maybe ‘findRoots’ could populate the list of stale ro

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-11 Thread Ludovic Courtès
Hello! Ricardo Wurmus skribis: >> Would it be possible to add an option to retrospectively apply this >> transformation? Maybe that could work somewhat like this: >> >> $ ls -lha >> ... /home/me/projects/mrg1_chipseq/.guix-profile-1-link -> >> /gnu/store/ap0vrfxjdj57iqdapg8q83l4f7aylqzm-profile

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-10 Thread Ricardo Wurmus
Hi Roel, Maybe I'm making things needlessly complex, but I would really like a solution that can be applied to an existing cluster setup. :) Oh, I’d also like something automated that works for an existing cluster setup (like mine that prompted this conversation), but in my imagination th

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-10 Thread Roel Janssen
On Mon, 2021-05-10 at 13:59 +0200, Ricardo Wurmus wrote: > > Hi Roel, > > thanks for your feedback! > > > Would it be possible to add an option to retrospectively apply > > this > > transformation?  Maybe that could work somewhat like this: > > > > $ ls -lha > > ... /home/me/projects/mrg1_chip

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-10 Thread Sébastien Lerique
Hi Ricardo, all, On 10 May 2021 at 18:59, Ricardo Wurmus wrote: On my cluster installation I ran “guix gc --list-dead” out of curiosity. When finding roots, the daemon also removes what it considers stale links. On my cluster installation not all links always resolve, because the target

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-10 Thread Ricardo Wurmus
Hi Roel, thanks for your feedback! Would it be possible to add an option to retrospectively apply this transformation? Maybe that could work somewhat like this: $ ls -lha ... /home/me/projects/mrg1_chipseq/.guix-profile-1-link -> /gnu/store/ap0vrfxjdj57iqdapg8q83l4f7aylqzm-profile This w

Re: “guix gc”, auto gcroots, cluster deployments

2021-05-10 Thread Roel Janssen
On Mon, 2021-05-10 at 11:59 +0200, Ricardo Wurmus wrote: > Hi Guix, > > On my cluster installation I ran “guix gc --list-dead” out of > curiosity.  When finding roots, the daemon also removes what it > considers stale links.  On my cluster installation not all links > always resolve, because th