From 961d0d2d2237baca7bd2099aebee279765bbd257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 23 Nov 2015 23:20:41 +0100 Subject: [PATCH] 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 file changed, 9 insertions(+) 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):