1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-14 13:01:05 +01:00

* Applied rbroek's patch from the branch at

https://svn.cs.uu.nl:12443/repos/trace/buildfarm-control/trunk/ext/nix/,
  with some modifications.  This allows `nix-env -qa' to show the
  attribute path that can be used to unambiguously install a package
  using `nix-env -i -A'.  Example:

    $ nix-env -f top-level/all-packages.nix -qaA subversion xorg-server
    subversionWithJava  subversion-1.2.3
    subversion          subversion-1.3.2
    subversion14        subversion-1.4.0pre-rc1
    xorg.xorgserver     xorg-server-1.1.0
This commit is contained in:
Eelco Dolstra 2006-07-25 16:40:38 +00:00
parent b11aeb2c4b
commit 0e6dc72a7a
4 changed files with 37 additions and 15 deletions

View file

@ -48,6 +48,8 @@ Query types:
--status / -s: print installed/present status
--no-name: hide derivation names
--attr-path / -A: shows the unambiguous attribute name of the
derivation which can be used when installing with -A
--system: print the platform type of the derivation
--compare-versions / -c: compare version to available or installed
--drv-path: print path of derivation