summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):