Hi,
On Sat, 16 Apr 2022 at 13:32, James Thomas <[email protected]> wrote:
> Mykola Nikishov wrote:
>> #+begin_example
>> guix build <PACKAGE>
>> guix gc
>> guix build <PACKAGE>
>> #+end_example
[...]
> guix shell -D <package> -r <path>
In addition, you could use “guix gc -F 10G” or whatever space you would
like to reclaim. Because “guix gc” delete all dead items whereas the
option ’-F’ (or ’-C’) tries to determine which items based on dates (I
guess).
Sometimes, I also do:
for item in $(guix gc --list-dead | grep <filter>)
do
guix gc -D $item
done
and you can pipe instead of for-looping. :-)
Hope that helps,
simon