diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-02T09·01+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-02T09·01+0000 |
commit | 91a01e6fcf88edfff5cd1b25651452d4385b1fbd (patch) | |
tree | 79c7cad8e0acd51e83c4c2981263b333b001f912 /doc/manual/package-management.xml | |
parent | 88d422567eb018b8b050a662bdaa6b0faa6a4be0 (diff) |
* Manual.
Diffstat (limited to 'doc/manual/package-management.xml')
-rw-r--r-- | doc/manual/package-management.xml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/manual/package-management.xml b/doc/manual/package-management.xml index 3d8bad1cf11e..927719e93912 100644 --- a/doc/manual/package-management.xml +++ b/doc/manual/package-management.xml @@ -55,7 +55,23 @@ bzip2-1.0.2 ...</screen> where <literal>nixpkgs-<replaceable>version</replaceable></literal> is -where you’ve unpacked the release.</para> +where you’ve unpacked the release. The flag <option>-q</option> +specifies a query operation; <option>-a</option> means that you want +to show the “available” (i.e., installable) packages, as opposed to +the installed packages; and <option>-f</option> +<filename>nixpkgs-<replaceable>version</replaceable></filename> +specifies the source of the packages. The argument +<literal>'*'</literal> shows all installable packages. (The quotes are +necessary to prevent shell expansion.) You can also select specific +packages by name: + +<screen> +$ nix-env -qaf nixpkgs-<replaceable>version</replaceable> gcc +gcc-3.4.6 +gcc-4.0.3 +gcc-4.1.1</screen> + +</para> <para>It is also possible to see the <emphasis>status</emphasis> of available components, i.e., whether they are installed into the user |