diff --git a/doc/manual/package-management.xml b/doc/manual/package-management.xml index 3d8bad1cf1..927719e939 100644 --- a/doc/manual/package-management.xml +++ b/doc/manual/package-management.xml @@ -55,7 +55,23 @@ bzip2-1.0.2 ... where nixpkgs-version is -where you’ve unpacked the release. +where you’ve unpacked the release. The flag +specifies a query operation; means that you want +to show the “available” (i.e., installable) packages, as opposed to +the installed packages; and +nixpkgs-version +specifies the source of the packages. The argument +'*' shows all installable packages. (The quotes are +necessary to prevent shell expansion.) You can also select specific +packages by name: + + +$ nix-env -qaf nixpkgs-version gcc +gcc-3.4.6 +gcc-4.0.3 +gcc-4.1.1 + + It is also possible to see the status of available components, i.e., whether they are installed into the user