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:
parent
2d7fc7daf1
commit
961d0d2d22
|
@ -4156,6 +4156,15 @@ package definition.
|
||||||
When importing a GNU package, the synopsis and descriptions are replaced
|
When importing a GNU package, the synopsis and descriptions are replaced
|
||||||
by their canonical upstream variant.
|
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
|
As an example, the command below imports the package definition of
|
||||||
LibreOffice (more precisely, it imports the definition of the package
|
LibreOffice (more precisely, it imports the definition of the package
|
||||||
bound to the @code{libreoffice} top-level attribute):
|
bound to the @code{libreoffice} top-level attribute):
|
||||||
|
|
Loading…
Reference in New Issue