Hi,

On 10/12/15 11:34, Freddy Rietdijk wrote:

> 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?

Yes, via the option system.extraDependencies.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to