From 2206d7afe2161b9d729d86aab569b8bd2a0d0a75 Mon Sep 17 00:00:00 2001 From: Richard Zetterberg Date: Thu, 20 Oct 2016 08:50:54 +0200 Subject: [PATCH] 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 ` 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. --- doc/languages-frameworks/texlive.xml | 1 + 1 file changed, 1 insertion(+) 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 nix-repl. $ nix-repl +nix-repl> :l <nixpkgs> nix-repl> texlive.collection-<TAB>