[Nix-dev] Check the priority of package in the nix store

Vladimír Čunát vcunat at gmail.com
Sun Feb 1 09:07:24 CET 2015


On 01/31/2015 09:19 PM, Richard Wallace wrote:
> Is there a way to check the priority of something in the nix-store? Any
> ideas why the priority is being ignored and/or lost in this process? Am
> there something wrong in my process?

The packages in nix store don't really have any priority themselves. 
nix-env evaluates priority for a package at the moment when it's 
(re-)installed into an environment, and records it in a manifest file of 
that particular environment. You can inspect that file, too, e.g. 
~/.nix-profile/manifest.nix

So, e.g. if you changed the priorities in the expressions but not 
re-installed from them since, the packages will keep the old priorities 
in those envs.

Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150201/2e0e9e02/attachment.bin 


More information about the nix-dev mailing list