@@ -335,7 +335,7 @@
335335 If you’re using the graphical ISO image, other editors may be available
336336 (such as <command>vim</command>). If you have network access, you can also
337337 install other editors — for instance, you can install Emacs by running
338− <literal>nix-env -i emacs</literal>.
338+ <literal>nix-env -f '<nixpkgs>' -iA emacs</literal>.
339339 </para>
340340 <variablelist>
341341 <varlistentry>
@@ -467,10 +467,10 @@ Retype new UNIX password: ***</screen>
467467 <para>
468468 You may also want to install some software. For instance,
469469<screen>
470−<prompt>$ </prompt>nix-env -qa \*</screen>
470+<prompt>$ </prompt>nix-env -qaP \*</screen>
471471 shows what packages are available, and
472472<screen>
473−<prompt>$ </prompt>nix-env -i w3m</screen>
473+<prompt>$ </prompt>nix-env -f '<nixpkgs>' -iA w3m</screen>
474474 install the <literal>w3m</literal> browser.
475475 </para>
476476 </listitem>