[Nix-dev] nix-store deriver vs outputs

Kirill Elagin kirelagin at gmail.com
Sun May 25 08:39:31 CEST 2014


Hi,

I'm not sure I'm getting the terms right, but I believe that “output” and
“deriver” are inverses of each other. But something seems to be wrong.

Here is an example:

~~~~~~~~~~~~~
% nix-store -q --deriver ~/.nix-profile/bin/pavucontrol
/nix/store/blxypgwcwypr03q661gwqclz2hl0q8p1-pavucontrol-2.0.drv

% stat /nix/store/blxypgwcwypr03q661gwqclz2hl0q8p1-pavucontrol-2.0.drv
stat: cannot stat
‘/nix/store/blxypgwcwypr03q661gwqclz2hl0q8p1-pavucontrol-2.0.drv’: No such
file or directory

% readlink -f ~/.nix-profile/bin/pavucontrol
/nix/store/sj1zg5pvx0rx3jx7fi3lhsxaf8rxrzf5-pavucontrol-2.0/bin/pavucontrol

% nix-store -q --outputs
/nix/store/yh0gqhvxz5r3qffvznlg8hxy6ipx6mka-pavucontrol-2.0.drv
/nix/store/sj1zg5pvx0rx3jx7fi3lhsxaf8rxrzf5-pavucontrol-2.0
~~~~~~~~~~~~~~~~~

What am I missing?


--
Кирилл Елагин
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140525/6f6be7b0/attachment.html 


More information about the nix-dev mailing list