[Nix-dev] Output paths for store derivation realisations

Eelco Dolstra e.dolstra at tudelft.nl
Sun Apr 12 20:53:13 CEST 2009


Hi,

Lluís Batlle wrote:

> is there any command, like "nix-env --dry-run", that would print not
> only the ".drv" paths, but also (or only) its internal "out"?
> For example, for
> b3shn3y6k3yqjv861akl39zc0833rchd-font-alias-1.0.1.drv, show
> /nix/store/80l2whi63lrcg5pqphmy6hw1wzf2lxkx-font-alias-1.0.1

Yes, nix-store -q:

$ nix-store -q /nix/store/syglwri4wxy0pk7cjzvv2zjwrd4ihbwj-subversion-1.5.5.drv
/nix/store/xm9xvb1x154zhwm7apl9yvnsas7zvxjf-subversion-1.5.5

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list