summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorYI <uuuuuu@protonmail.com>2020-03-01 16:11:22 +0800
committerYI <uuuuuu@protonmail.com>2020-03-14 00:36:26 +0800
commitb6d794fb8df09b9b5d86f3fe2a2789631215f8b5 (patch)
treefdd911b89100969733f43358c525ebeb527c38b6 /doc
parent22a754c091f765061f59bef5ce091268493bb138 (diff)
display attr-path only when queried available
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/nix-env.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/command-ref/nix-env.xml b/doc/manual/command-ref/nix-env.xml
index d257a5e49..9c03ccce1 100644
--- a/doc/manual/command-ref/nix-env.xml
+++ b/doc/manual/command-ref/nix-env.xml
@@ -1066,7 +1066,8 @@ user environment elements, etc. -->
the derivation, which can be used to unambiguously select it using
the <link linkend="opt-attr"><option>--attr</option> option</link>
available in commands that install derivations like
- <literal>nix-env --install</literal>.</para></listitem>
+ <literal>nix-env --install</literal>. This option only works
+ together with <option>--available</option></para></listitem>
</varlistentry>