aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
AgeCommit message (Collapse)Author
2015-05-28guix environment: Add --ad-hoc option.David Thompson
* guix/scripts/environment.scm (%options): Add "ad-hoc" option. (show-help): Display help for "--ad-hoc". (packages+propagated-inputs): New procedure. (guix-environment): Create ad hoc environment when asked. * doc/guix.texi ("invoking guix environment"): Document it.
2015-05-27doc: Clarify that --disable-chroot is needed for non-root users.Ludovic Courtès
* doc/guix.texi (Build Environment Setup, Invoking guix-daemon): Mention --disable-chroot as needed for non-root users.
2015-05-25guix system: Add '--on-error'.Ludovic Courtès
* guix/ui.scm (load*): Add #:on-error parameter. [tag, error-string]: New variables. Wrap 'load' call in 'call-with-prompt'. Pass TAG to 'make-stack'. Honor ON-ERROR after 'report-load-error' call. (report-load-error): Change to not exit on error. Make private. * guix/scripts/system.scm (show-help, %options): Add --on-error. (guix-system): Use 'load*' and pass it #:on-error.
2015-05-25doc: Fix inaccurate wording in "operating-system Reference".Ludovic Courtès
* doc/guix.texi (operating-system Reference): Add missing "kernel".
2015-05-25system: Define '%base-user-accounts'.Ludovic Courtès
* gnu/system/shadow.scm (%base-user-accounts): New variable. * gnu/system.scm (<operating-system>)[users]: Use it as the default value. * gnu/system/examples/bare-bones.tmpl (users): Use it. * gnu/system/examples/desktop.tmpl (users): Likewise. * doc/guix.texi (operating-system Reference, User Accounts): Adjust accordingly.
2015-05-23doc: Add "Running Guix Before It Is Installed".Ludovic Courtès
* doc/guix.texi (Running Guix Before It Is Installed): New node. (Packaging Guidelines): Refer to it.
2015-05-23doc: Update detailed node list.Ludovic Courtès
* doc/guix.texi (Top): Add "package Reference" and "origin Reference" in detailed node list.
2015-05-22doc: Clarify the module file name convention.Ludovic Courtès
* doc/guix.texi (Package Modules): Clarify the footnote about the module file names convention. Tweak the wording.
2015-05-22doc: More cross-references.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Add xref to "package Reference". (package Reference): Add xref to "Invoking guix package". Expound 'native-inputs' example, and add xref to "Invoking guix lint".
2015-05-22doc: Add a cross-reference to "origin Reference".Ludovic Courtès
* doc/guix.texi (Defining Packages): Add xref to "origin Reference".
2015-05-22doc: Make '--manifest' more visible.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Mention the declarative approach and --manifest in the intro. And an anchor for --manifest. Explain why/how it can be used. Tweak wording.
2015-05-21services: xorg: Allow extra config text to be added verbatim.Ludovic Courtès
* gnu/services/xorg.scm (xorg-configuration-file): Add #:extra-config and honor it. * doc/guix.texi (X Window): Adjust accordingly.
2015-05-21services: xorg: Make 'xorg-configuration-file' public.Ludovic Courtès
* gnu/services/xorg.scm (xorg-configuration-file): New procedure, with code formerly in 'xorg-start-command'. (xorg-start-command): Remove #:drivers and #:resolutions; add #:configuration-file; use it as well as 'xorg-configuration-file'.
2015-05-20Revert "doc: Suggest how to preserve /var and /root owner and permissions."Mark H Weaver
This reverts commit 8c3a5d7059a24e9c6d7bf14be296169cdcf06ad6, which is no longer needed due to commit b2a5fa594e66b9d929df11fc7a38e4b367a00a5e.
2015-05-20package: Add --manifest option.David Thompson
* guix/scripts/package.scm (show-help): Add help text. (%options): Add manifest option. (guix-package): Add manifest option handler. * doc/guix.texi ("Invoking guix package"): Document it. * tests/guix-package.sh: Add test.
2015-05-20guix package: Add optional argument to --search-paths.Ludovic Courtès
* guix/scripts/package.scm (search-path-environment-variables): Add #:kind parameter. Pass it to 'environment-variable-definition'. (display-search-paths): Add #:kind parameter and pass it to 'search-path-environment-variables'. (%options): Add an optional parameter for "--search-paths". (guix-package)[process-query]: Handle it. * tests/guix-package-net.sh: Adjust existing test. * tests/guix-package.sh: Adjust existing tests and add new test. * doc/guix.texi (Invoking guix package): Document it.
2015-05-19doc: Add "package Reference" and "origin Reference" sections.Taylan Ulrich Bayırlı/Kammer
* doc/guix.texi (Defining Packages): Link to "package Reference". Add menu. (package Reference, origin Reference): New subsections.
2015-05-19guix gc: Add '--optimize'.Ludovic Courtès
* guix/scripts/gc.scm (show-help, %options): Add --optimize. (guix-gc): Handle it.
2015-05-19build: Make sure $CXX supports C++11.Ludovic Courtès
* m4/guix.m4 (GUIX_CHECK_CXX11, GUIX_ASSERT_CXX11): New macros. * config-daemon.ac: Use 'AC_LANG([C++])' and 'GUIX_ASSERT_CXX11'.C * doc/guix.texi (Requirements): Mention C++11 support.
2015-05-18doc: Re-generate detailed node listing.Ludovic Courtès
* doc/guix.texi (Top): Update detailed node listing.
2015-05-18install: Files in the tarball are all root-owned.Ludovic Courtès
Fixes a thinko introduced in 175ced4. * gnu/system/install.scm (self-contained-tarball): Use "root:0" as the owner and group. * doc/guix.texi (Binary Installation): Revert 175ced4.
2015-05-18install: Use the right user and group name for files in the binary tarball.Ludovic Courtès
Suggested by Andreas Enge <andreas@enge.fr> at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>. * gnu/system/install.scm (self-contained-tarball): Pass --owner and --group to 'tar'. * doc/guix.texi (Binary Installation): Move group and account creation before extraction. Make "run the daemon" a separate step.
2015-05-18doc: Suggest the same build user and group names as on GuixSD.Ludovic Courtès
* doc/guix.texi (Build Environment Setup): Suggest the user and group names as used on GuixSD. (Binary Installation): Adjust accordingly.
2015-05-17doc: Better suggestion for the /usr/local/bin/guix symlink.Ludovic Courtès
Suggested by Andreas Enge <andreas@enge.fr> at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>. * doc/guix.texi (Binary Installation): Use the longer 'guix' file name.
2015-05-17doc: Document 'ifconfig eno1 up' before running 'dhclient'.Ludovic Courtès
Reported by Scott McDonough <smcdonough1@gmail.com> in <http://bugs.gnu.org/20582>. * doc/guix.texi (System Installation): Suggested setting the interface up before running 'dhclient'.
2015-05-17doc: Suggest how to preserve /var and /root owner and permissions.Ludovic Courtès
Reported by Andreas Enge <andreas@enge.fr>. * doc/guix.texi (Binary Installation): Suggest --skip-old-files when extracting the archive.
2015-05-13doc: Increase package count.Ludovic Courtès
* doc/guix.texi (System Installation): Increase package count.
2015-05-12publish: Add '--listen'.Ludovic Courtès
* guix/scripts/publish.scm (show-help, %options): Add --listen. (getaddrinfo*): New procedure. (%default-options): Add 'address'. (open-server-socket): Replace 'addr' and 'port' with 'address', a sockaddr. (guix-publish): Adjust accordingly. Augment "publishing" message with the actual address. * doc/guix.texi (Invoking guix publish): Document it.
2015-05-12publish: Add '--user' option.Ludovic Courtès
* guix/scripts/publish.scm (show-help): Add --user. (%options): Likewise. (run-publish-server): Change 'port' parameter to 'socket'. Pass #:socket instead of #:addr and #:port to 'run-server'. Update caller accordingly. (open-server-socket, gather-user-privileges): New procedures. (guix-publish): Use them. Force %PRIVATE-KEY and %PUBLIC-KEY early on. Warn when running as root. * doc/guix.texi (Invoking guix publish): Document --user.
2015-05-12doc: Make 'guix publish' more visible.Ludovic Courtès
* doc/guix.texi (Substitutes): Add xref to "Invoking guix publish". (Invoking guix publish): Add xref to "Substitutes". Explain what Hydra is.
2015-05-12doc: "GSD" -> "GuixSD".Ludovic Courtès
* doc/guix.texi: Replace "GSD" with "GuixSD".
2015-05-12doc: Use @indicateurl where appropriate.Ludovic Courtès
* doc/guix.texi (Binary Installation, Invoking guix-daemon, System Installation): Use @indicateurl instead of @code where appropriate.
2015-05-11doc: Document X.509 certificates.Ludovic Courtès
* doc/guix.texi (Using the Configuration System): Add xref to "X.509 Certificates". (X.509 Certificates): New section. * gnu/system/examples/desktop.tmpl: Use NSS-CERTS.
2015-05-10doc: Mention GNU Make as a requirement.Ludovic Courtès
* README (Requirements): Add GNU Make. * doc/guix.texi (Requirements): Likewise.
2015-05-10build: Require Guile >= 2.0.7.Ludovic Courtès
* configure.ac: Require guile-2.0 >= 2.0.7. * README: Adjust accordingly. * doc/guix.texi (Requirements): Likewise.
2015-05-09doc: Show both the "bare-bones" and the "desktop" configurations.Ludovic Courtès
* doc/guix.texi (System Installation): Add xref to "Using the Configuration System" instead of including one here. (Using the Configuration System): Remove first example, and include os-config-bare-bones.texi instead. Include os-config-desktop.texi as a second example. * doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable. (BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it. (doc/os-config.texi): Remove. (doc/os-config-%.texi): New target.
2015-05-09install: Have several OS config templates under /etc/configuration.Ludovic Courtès
* gnu/system/install.scm (configuration-template-service): Remove 'local-template' and 'template'. Add 'search' and 'templates'. [activate]: Copy all of TEMPLATES to /etc/configuration. * doc/guix.texi (System Installation): Adjust file name accordingly.
2015-05-08doc: Document 'avahi-service'.Ludovic Courtès
* gnu/services/avahi.scm (avahi-service): Add URL in docstring. * doc/guix.texi (Networking Services): Document it. (Name Service Switch): Fix cross-reference.
2015-05-08doc: Document sessions and ~/.xsession for SLiM.Ludovic Courtès
* gnu/services/xorg.scm (slim-service): Document session types and ~/.xsession. * doc/guix.texi (X Window): Adjust accordingly.
2015-05-08services: Add '%desktop-services'.Ludovic Courtès
* gnu/services/desktop.scm (%desktop-services): New variable. * doc/guix.texi (Desktop Services): Document it.
2015-05-08nss: Add '%mdns-host-lookup-nss'.Ludovic Courtès
* gnu/system/nss.scm (%mdns-host-lookup-nss): New variable. * doc/guix.texi (Name Service Switch): Document it.
2015-05-07gnu: Add postgresql-service.David Thompson
* gnu/services/databases.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi ("Database Services"): New subsubsection.
2015-05-06profiles: Generate an 'etc/profile' file.Ludovic Courtès
Suggested by 宋文武 <iyzsong@gmail.com> in <http://bugs.gnu.org/20255>. * guix/build/profiles.scm (abstract-profile, write-environment-variable-definition): New procedures. (build-profile): Add #:search-paths parameter. Create OUTPUT/etc/profile. * guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths' variable and pass it to 'build-profile'. Adjust #:modules argument. * tests/profiles.scm ("etc/profile"): New test. * doc/guix.texi (Invoking guix package): Mention etc/profile.
2015-05-05services: Group desktop services in (gnu services desktop).Ludovic Courtès
* gnu/services/colord.scm, gnu/services/dbus.scm, gnu/services/upower.scm: Remove. * gnu/services/desktop.scm: New file, with contents taken from the above files. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * doc/guix.texi (Desktop Services): New section. (Various Services): Move colord-service and upower-service from here to "Desktop Services".
2015-05-04doc: Fix dangling references in the 'sh-symlink' monad example.Ludovic Courtès
Reported by Christopher A. Webber <cwebber@dustycloud.org>. * doc/guix.texi (The Store Monad): Reintroduce 'mlet' in 'sh-symlink' example. Move the simplified version below. Explain that the 'store' parameter is threaded.
2015-05-04doc: Suggest 'groupadd --system'.Ludovic Courtès
* doc/guix.texi (Build Environment Setup): Use 'groupadd --system'.
2015-05-04doc: Clarify installation from the binary tarball.Ludovic Courtès
* doc/guix.texi (Binary Installation): Specifically refer to group/account creation, and add an item for substitutes. Mention verifiability.
2015-05-04doc: Replace reference to profile.sh with sh-symlinkChristopher Allan Webber
* doc/guix.texi (The Store Monad): Replace reference to "profile.sh", which is not defined until the next node, with "sh-symlink", which is defined immediately above Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-02guix: build: Add transitive source building.Eric Bavier
* guix/scripts/build.scm (%options, options->derivations): Add --sources option. * doc/guix.texi (Invoking guix build): Document --sources option. * tests/guix-build.sh: Add tests.
2015-05-01services: Add console-keymap service.Alex Kost
* gnu/services/base.scm (console-keymap-service): New procedure. * doc/guix.texi (Base Services): Document it. Co-authored-by: 宋文武 <iyzsong@gmail.com>