Merge pull request #51493 from marsam/feature/docs-remove-nix-repl-references

docs: Remove nix-repl references
This commit is contained in:
Jörg Thalheim 2018-12-04 10:53:09 +00:00 committed by GitHub
commit 7dbb64aca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View File

@ -49,12 +49,12 @@ texlive.combine {
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
You can list packages e.g. by <command>nix-repl</command>. You can list packages e.g. by <command>nix repl</command>.
<programlisting> <programlisting><![CDATA[
$ nix-repl $ nix repl
nix-repl> :l &lt;nixpkgs> nix-repl> :l <nixpkgs>
nix-repl> texlive.collection-&lt;TAB> nix-repl> texlive.collection-<TAB>
</programlisting> ]]></programlisting>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>

View File

@ -113,12 +113,10 @@ $ nixos-option <xref linkend="opt-boot.kernelModules"/>
[ "tun" "ipv6" "loop" <replaceable>...</replaceable> ] [ "tun" "ipv6" "loop" <replaceable>...</replaceable> ]
</screen> </screen>
Interactive exploration of the configuration is possible using Interactive exploration of the configuration is possible using
<command <command>nix repl</command>, a read-eval-print loop for Nix expressions.
xlink:href="https://github.com/edolstra/nix-repl">nix-repl</command>, A typical use:
a read-eval-print loop for Nix expressions. Its not installed by default;
run <literal>nix-env -i nix-repl</literal> to get it. A typical use:
<screen> <screen>
$ nix-repl '&lt;nixpkgs/nixos>' $ nix repl '&lt;nixpkgs/nixos>'
nix-repl> config.<xref linkend="opt-networking.hostName"/> nix-repl> config.<xref linkend="opt-networking.hostName"/>
"mandark" "mandark"