Le 14 mai 2020 08:17:51 GMT-04:00, zimoun <zimon.touto...@gmail.com> a écrit :
>On Thu, 14 May 2020 at 13:34, Tobias Geerinckx-Rice <m...@tobias.gr>
>wrote:
>
>>   λ sudo rm -rf /gnu/store
>
>Your trust in Guix is impressive! ;-)
>
>--8<---------------cut here---------------start------------->8---
>guix gc --list-dead | grep hello
>finding garbage collector roots...
>determining live/dead paths...
>/gnu/store/fnn6lvk6n5a1mkkqa1jybgwv9425gzcv-hello-2.10-guile-builder
>/gnu/store/gknm68l0q893bpvyhcd4ccih1bmh0j87-hello-2.10.drv
>/gnu/store/kg9mirg6xbvzcp0a98v7326n1nvvwgsj-hello-2.10
>
>simon@lili$ sudo rm -fr
>/gnu/store/kg9mirg6xbvzcp0a98v7326n1nvvwgsj-hello-2.10
>[sudo] password for simon:
>
>simon@lili$ guix gc --list-dead | grep hello
>finding garbage collector roots...
>determining live/dead paths...
>/gnu/store/fnn6lvk6n5a1mkkqa1jybgwv9425gzcv-hello-2.10-guile-builder
>/gnu/store/gknm68l0q893bpvyhcd4ccih1bmh0j87-hello-2.10.drv
>--8<---------------cut here---------------end--------------->8---
>
>On foreign distro.
>
>
>Cheers,
>simon

We only bind-mount the store on the Guix System. On systemd systems, we could 
install an additional service that does that I think. For others, adding a line 
to /etc/fstab might work too.

Reply via email to