[Nix-dev] "Package archeology" in nixpkgs

Roger Qiu roger.qiu at polycademy.com
Mon Sep 1 01:27:04 CEST 2014


Can there be a better database rather than a text file?

On 1/09/2014 4:04 AM, Michael Raskin wrote:
>> On 31 August 2014 18:27, Michael Raskin <7c6f434c at mail.ru> wrote:
>>> I'd say, though, that only name-based operations drop in performance
>>> that way…
>>>
>>> Although for some strange reason we still recommend this way of using
>>> Nix.
>> Nix newb asks: what would be the superiour alternative, then?
> nix-env -iA insted of nix-env -i
>
> The difference is that you use attribute name, not package name; lookup
> by attribute name allows to read only all-packages.nix and relevant
> sources, not entire NixPkgs tree.
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list