3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

doc: Explain how to select system package outputs.

* doc/guix.texi (operating-system Reference): Document that PACKAGES may
contain traces of tuples and give an example.
This commit is contained in:
Tobias Geerinckx-Rice 2020-08-09 17:53:58 +02:00
parent 3de419b957
commit 4cafdce210
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -11962,8 +11962,15 @@ A string denoting the contents of the @file{/etc/issue} file, which is
displayed when users log in on a text console.
@item @code{packages} (default: @code{%base-packages})
The set of packages installed in the global profile, which is accessible
at @file{/run/current-system/profile}.
A list of packages to be installed in the global profile, which is accessible
at @file{/run/current-system/profile}. Each element is either a package
variable or a package/output tuple. Here's a simple example of both:
@lisp
(cons* git ; only the default "out" output
(git "send-email") ; another output of the git package
%base-packages) ; the default set
@end lisp
The default set includes core utilities and it is good practice to
install non-core utilities in user profiles (@pxref{Invoking guix