[Nix-dev] Revert `nixos-rebuild switch --profile-name test`

Daniel Hlynskyi abcz2.uprola at gmail.com
Mon Feb 8 11:14:46 CET 2016


> They are just symlinks. You can simply delete or create them as any files.

These profiles are shown in my GRUB config. It is not obvious from man
whether they will survive `nixos-rebuild`

thanks

2016-02-08 12:05 GMT+02:00 Vladimír Čunát <vcunat at gmail.com>:

> On 02/08/2016 09:34 AM, Daniel Hlynskyi wrote:
> > 1. How can I remove named system profile?
>
> They are just symlinks. You can simply delete or create them as any files.
>
> > 2. How to find out used space for given GC root?
>
> Determining size of closure of some root(s) is relatively easy:
> nix-store -qR /path/to/the/roots | xargs du -sc
> Of course, that's only the upper bound on the amount of
> newly-unreachable space in case you delete the root(s).
>
> --Vladimir
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160208/85dff7cd/attachment.html 


More information about the nix-dev mailing list