[Nix-dev] Ad hoc vs. declarative package management

Amy de Buitléir amy at nualeargais.ie
Sun May 17 22:41:30 CEST 2015


Spencer Whitt <sw <at> swhitt.me> writes:

> 
> 
> You want kde4.konsole, instead of simply konsole. configuration.nix
installs via attribute name rather than package name. In other words, it's
equivalent to using nix-env -iA, and not the same as using nix-env -i.
> In general, nix-env -iA is preferred over nix-env -i anyway. It's faster
and less ambiguous. The nix-env -i feature mainly exists for historical reasons.
> 
> To find package's attribute names, you can use nix-env -qaP. the -P
argument tells nix-env to print the attribute names.

Ah, I understand now. And similarly, I want xlibs.cev, instead of simply
xev. Thank you!



More information about the nix-dev mailing list