[Nix-dev] NixOS: entry in configuration to list packages that should not be gc-ed

Freddy Rietdijk freddyrietdijk at fridh.nl
Thu Dec 10 11:34:26 CET 2015


Dear Nixers,

There are a bunch of packages I would always like to have available in the
Nix store, but that I do not want directly in my primary environment. These
packages I would like to specify in `/etc/nixos/configuration.nix` so that
on a rebuild these are always available without downloading/building when I
need them.

I know that with `nix-shell` it is possible to prevent packages from being
gc-ed, however, I would like to specify the list of packages in
`configuration.nix`. Is there any such way?

Kind regards,

Freddy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151210/a6cf891c/attachment.html 


More information about the nix-dev mailing list