[Nix-dev] What happens to nix-shell packages on GC run?

Matthias Beyer mail at beyermatthias.de
Fri Oct 16 10:41:29 CEST 2015


Oh, yes, nice!

I assume that I can remove persistent environments by removing the
.drv file, then?

On 16-10-2015 10:38:54, Domen Kožar wrote:
> https://nixos.org/wiki/Development_Environments#Making_a_Persistent_nix-shell_Environment
> 
> On Fri, Oct 16, 2015 at 10:26 AM, Matthias Beyer <mail at beyermatthias.de>
> wrote:
> 
> > Hi,
> >
> > what happens to nix-shells if I run nix-collect-garbage?
> >
> > For example:
> >
> >     nix-shell -p racket
> >
> > another terminal:
> >
> >     nix-collect-garbage
> >
> > is racket now gone in the nix-shell environment or does nix
> > "magically" find out that this package is in use and doesn't remove
> > it?
> >
> > --
> > Mit freundlichen Grüßen,
> > Kind regards,
> > Matthias Beyer
> >
> > Proudly sent with mutt.
> > Happily signed with gnupg.
> >
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
> >

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151016/1e8902c0/attachment.bin 


More information about the nix-dev mailing list