summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorRichard Zetterberg <rzetterberg@users.noreply.github.com>2016-10-20 08:50:54 +0200
committerGitHub <noreply@github.com>2016-10-20 08:50:54 +0200
commit2206d7afe2161b9d729d86aab569b8bd2a0d0a75 (patch)
tree41a7a2014ab4c38aef9dbb35352b161dad634931 /doc
parent24c3271e3978d24924d2c42b451ab7abb73bd832 (diff)
downloadnixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.tar
nixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.tar.gz
nixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.tar.bz2
nixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.tar.lz
nixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.tar.xz
nixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.tar.zst
nixpkgs-2206d7afe2161b9d729d86aab569b8bd2a0d0a75.zip
texlive manual: adds import of nixpkgs in nix-repl
I wanted to list the different texlive collections using the nix-repl, as per the [manual](https://nixos.org/nixpkgs/manual/#idm140737316065984). 

It didn't work, since the nixpkgs were not loaded. Doing `:l <nixpkgs>` first resolved the problem.

This change adds the nixpkgs loading step to the manual so that the next inexperienced person don't have to figure out why it didn't work.

I tested this on NixOS unstable (16.09pre90254.6b20d5b) with nix-repl 1.11.3.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/texlive.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages-frameworks/texlive.xml b/doc/languages-frameworks/texlive.xml
index 0e3c1dd13d7..fdee1e405ec 100644
--- a/doc/languages-frameworks/texlive.xml
+++ b/doc/languages-frameworks/texlive.xml
@@ -35,6 +35,7 @@ texlive.combine {
       You can list packages e.g. by <command>nix-repl</command>.
       <programlisting>
 $ nix-repl
+nix-repl> :l &lt;nixpkgs>
 nix-repl> texlive.collection-&lt;TAB>
       </programlisting>
     </para></listitem>