[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'.
From: |
Ludovic Courtès |
Subject: |
01/02: doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'. |
Date: |
Mon, 23 Nov 2015 22:38:30 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 961d0d2d2237baca7bd2099aebee279765bbd257
Author: Ludovic Courtès <address@hidden>
Date: Mon Nov 23 23:20:41 2015 +0100
doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'.
Suggested by rgrau on #guix.
* doc/guix.texi (Invoking guix import): Document 'NIX_REMOTE'.
---
doc/guix.texi | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 03363c1..a56bda9 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:
+
address@hidden
+export NIX_REMOTE=daemon
address@hidden example
+
address@hidden
+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):