Here is an attempt:
https://lists.gnu.org/archive/html/guix-devel/2016-07/msg00574.html
I tried to use call-with-values, but couldn't make it to work so
reverted back to let-values...
To test, I added (guix-gc "-C") at the end of the script and ran "guix
pull && guile gc.scm", looked OK...
--
Andreas Enge skribis:
> On Fri, Jul 15, 2016 at 04:33:46PM +0200, Ludovic Courtès wrote:
>> This code calls the ‘collect-garbage’ procedure, defined in (guix
>> store). You’ll see that this procedure returns two values, which are
>> currently ignored: the name of the items that
On Fri, Jul 15, 2016 at 04:33:46PM +0200, Ludovic Courtès wrote:
> This code calls the ‘collect-garbage’ procedure, defined in (guix
> store). You’ll see that this procedure returns two values, which are
> currently ignored: the name of the items that were removed from the
> store, and the number
Vincent Legoll skribis:
> It already shows:
> note: currently hard linking saves 485.41 MiB
>
> Recovered disk space would nicely complement that.
Indeed.
> Looks like I helped myself out of step 1:
> this is in guix/scripts/gc.scm if I'm not mistaken
Yep, you’re on
It already shows:
note: currently hard linking saves 485.41 MiB
Recovered disk space would nicely complement that.
I could be mentored to do it myself, but I'm very new to guile & guix
;-)
I'd at least require high level directions as to where I should look (in
the code) to graft that