mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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.
This commit is contained in:
parent
24c3271e39
commit
2206d7afe2
@ -35,6 +35,7 @@ texlive.combine {
|
||||
You can list packages e.g. by <command>nix-repl</command>.
|
||||
<programlisting>
|
||||
$ nix-repl
|
||||
nix-repl> :l <nixpkgs>
|
||||
nix-repl> texlive.collection-<TAB>
|
||||
</programlisting>
|
||||
</para></listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user