diff --git a/doc/manual/command-ref/nix-env.xml b/doc/manual/command-ref/nix-env.xml
index d37f4bcc1..45a99b27d 100644
--- a/doc/manual/command-ref/nix-env.xml
+++ b/doc/manual/command-ref/nix-env.xml
@@ -701,6 +701,44 @@ $ nix-env -e '.*' (remove everything)
+
+
+Operation
+
+Synopsis
+
+
+ nix-env
+
+ drvname
+
+
+
+Description
+
+The operation modifies the current generation of a
+profile so that it contains exactly the specified derivation, and nothing else.
+
+
+
+
+Examples
+
+
+The following updates a profile such that its current generation will contain
+just Firefox:
+
+
+$ nix-env -p /nix/var/nix/profiles/browser --set firefox
+
+
+
+
+
+
+
+
+
Operation