doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'.

Suggested by rgrau on #guix.

* doc/guix.texi (Invoking guix import): Document 'NIX_REMOTE'.
This commit is contained in:
Ludovic Courtès 2015-11-23 23:20:41 +01:00
parent 2d7fc7daf1
commit 961d0d2d22
1 changed files with 9 additions and 0 deletions

View File

@ -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):