summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-23 23:20:41 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-23 23:20:41 +0100
commit961d0d2d2237baca7bd2099aebee279765bbd257 (patch)
treeb03d8f8c93869c654382e26201d2883ce38a64a1 /doc
parent2d7fc7daf14e6e965a4d33baa7b9d52873f37691 (diff)
downloadguix-961d0d2d2237baca7bd2099aebee279765bbd257.tar.gz
doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'.
Suggested by rgrau on #guix.

* doc/guix.texi (Invoking guix import): Document 'NIX_REMOTE'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 03363c170c..a56bda9c79 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4156,6 +4156,15 @@ package definition.
 When importing a GNU package, the synopsis and descriptions are replaced
 by their canonical upstream variant.
 
+Usually, you will first need to do:
+
+@example
+export NIX_REMOTE=daemon
+@end example
+
+@noindent
+so that @command{nix-instantiate} does not try to open the Nix database.
+
 As an example, the command below imports the package definition of
 LibreOffice (more precisely, it imports the definition of the package
 bound to the @code{libreoffice} top-level attribute):