summaryrefslogtreecommitdiff
path: root/doc/guix.texi
AgeCommit message (Collapse)Author
2020-11-29doc: Document that source derivation builds can be checked.Maxim Cournoyer
It is a common mistake to modify an <origin> record that computes to a fixed-output derivation, forgetting to update its hash field, only to find out that a previously built source gets used instead. While there doesn't seem to be an obvious solution to this problem, we can at least document the fact that sources can be checked the same as other builds. * doc/guix.texi (Additional Build Options): Document that source derivation builds can be verified using --check.
2020-11-29processes: Add '--format' and the "normalized" format.John Soo
* guix/scripts/processes.scm (lock->recutils): New procedure. (daemon-session->recutils): Use it. (daemon-sessions->recutils, session-key->recutils) (session-scalars->normalized-record) (child-process->normalized-record) (daemon-sessions->normalized-record): New procedures. (session-rec-type, lock-rec-type, child-process-rec-type) (%available-formats): New variables. (list-formats): New procedure. (%options, show-help): Add '--format'. (%default-options): New variable. (guix-processes): Use 'parse-command-line' instead of 'args-fold*'. Honor the 'format' value in OPTIONS. * doc/guix.texi (Invoking guix processes): Document '--format'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-29processes: Put ChildProcess and ChildPID on separate lines.John Soo
* guix/scripts/processes.scm (daemon-session->recutils): Put child process information in separate fields. * doc/guix.texi (Invoking guix processes): Document change in output of 'guix processes'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-29doc: Document zabbix-agent hostname change.Oleg Pykhalov
This commit follows 8518a3692cbb9cd96d69c03e9de9ad6fdcfebbee. * doc/guix.texi (Monitoring Services)[zabbix-agent]: Set hostname to empty string.
2020-11-29Use substitute servers on the local network.Mathieu Othacehe
* guix/scripts/discover.scm: New file. * Makefile.am (MODULES): Add it. * nix/nix-daemon/guix-daemon.cc (options): Add "discover" option, (parse-opt): parse it, (main): start "guix discover" process when the option is set. * guix/scripts/substitute.scm (%local-substitute-urls): New variable, (substitute-urls): add it. * gnu/services/base.scm (<guix-configuration>): Add "discover?" field, (guix-shepherd-service): honor it. * doc/guix.texi (Invoking guix-daemon): Document "discover" option, (Base Services): ditto.
2020-11-29publish: Add advertising support.Mathieu Othacehe
* guix/scripts/publish.scm (%options): Add "--advertise" option. (show-help): Document it. (service-name): New procedure, (publish-service-type): new variable. (run-publish-server): Add "advertise?" and "port" parameters. Use them to publish the server using Avahi. (guix-publish): Pass the "advertise?" option to "run-publish-server". * gnu/services/base.scm (<guix-publish-configuration>): Add "advertise?" field. (guix-publish-shepherd-service): Honor it.
2020-11-29Add Avahi support.Mathieu Othacehe
* guix/avahi.scm: New file. * Makefile.am (MODULES): Add it. * configure.ac: Add Guile-Avahi dependency. * doc/guix.texi (Requirements): Document it. * gnu/packages/package-management.scm (guix)[native-inputs]: Add "guile-avahi", [propagated-inputs]: ditto. * guix/self.scm (specification->package): Add guile-avahi. (compiled-guix): Ditto.
2020-11-28doc: Fix another typo.Tobias Geerinckx-Rice
* doc/guix.texi (Database Services): Remove a duplicate ‘on’ from the memcached section.
2020-11-28Merge branch 'staging'Marius Bakke
2020-11-28doc: Fix typo.Marius Bakke
* doc/guix.texi (Database Services): Replace comma with full stop for Memcached documentation.
2020-11-28services: MySQL: Upgrade database schemas automatically.Marius Bakke
* gnu/services/databases.scm (<mysql-configuration>): Add AUTO-UPGRADE? field. (mysql-upgrade-wrapper, mysql-upgrade-shepherd-service, mysql-shepherd-services): New variables. (mysql-service-type): Use MYSQL-SHEPHERD-SERVICES instead of MYSQL-SHEPHERD-SERVICE. * doc/guix.texi (Database Services): Document the AUTO-UPGRADE? field of MYSQL-SERVICE-TYPE. * gnu/tests/databases.scm (run-mysql-test): Test that mysql_upgrade has run.
2020-11-28services: MySQL: Make the socket configurable.Marius Bakke
* gnu/services/databases.scm (<mysql-configuration>): Add SOCKET field. (mysql-configuration-file): Adjust accordingly. * doc/guix.texi (Database Services): Likewise.
2020-11-28services: MySQL: Bind to localhost only by default.Marius Bakke
* gnu/services/databases.scm (<mysql-configuration>): Add BIND-ADDRESS field. (mysql-configuration-file): Adjust accordingly. * doc/guix.texi (Database Services): Document it.
2020-11-28services: MySQL: Deprecate 'mysql-service'.Marius Bakke
* gnu/services/databases.scm (mysql-service): Define in terms of DEFINE-DEPRECATED. * gnu/tests/databases.scm (%mysql-os): Adjust accordingly. * doc/guix.texi (Database Services): Adjust the MariaDB/MySQL section to document MYSQL-SERVICE-TYPE instead of MYSQL-SERVICE. While at it, document the EXTRA-CONTENT field.
2020-11-28doc: Update mcron example.Ludovic Courtès
This is a followup to 0468455e7d279c89ea3ad1b51935efb2b785ec47, which added mcron to %BASE-SERVICES. * doc/guix.texi (Scheduled Job Execution): Use 'simple-service'.
2020-11-28doc: Remove lzlib from the requirements.Ludovic Courtès
This is a followup to 4c0c65acfade63ce0549115d19db4b639c1e9992. * doc/guix.texi (Requirements): Remove lzlib.
2020-11-26Merge branch 'master' into stagingMarius Bakke
2020-11-26doc: Fix typo.Tobias Geerinckx-Rice
* doc/guix.texi (Version Control Services): Fix ‘trough’ typo. Reported by guixy on #guix.
2020-11-26Merge branch 'master' into stagingMarius Bakke
2020-11-26doc: Tweak LVM-related info.Ludovic Courtès
* doc/guix.texi (Limitations): Remove LVM support. (Mapped Devices): Add link the to LVM web site. Tweak wording.
2020-11-26mapped-devices: Add 'lvm-device-mapping'.Mikhail Tsykalov
* gnu/system/mapped-devices.scm (lvm-device-mapping, open-lvm-device, close-lvm-device): New variables. * gnu/tests/install.scm (%lvm-separate-home-os, %lvm-separate-home-os-source, %lvm-separate-home-installation-script, %test-lvm-separate-home-os): New variables. * gnu/system/linux-initrd.scm (raw-initrd): Add (srfi srfi-1) to initrd expression. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-26mapped-devices: Allow target to be list of strings.Mikhail Tsykalov
* gnu/system/mapped-devices.scm (<mapped-device>): Rename constructor to %mapped-device. [target]: Remove field. [targets]: New field. Adjust users. (mapped-device-compatibility-helper, mapped-device): New macros. (mapped-device-target): New deprecated procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-11-24doc: Fix a typo in WebSSH configuration documentation.Oleg Pykhalov
* doc/guix.texi (Networking Services): Fix a typo in webssh-configuration.
2020-11-22Merge branch 'master' into stagingMarius Bakke
2020-11-21services: cups: Add Splix by default.Tobias Geerinckx-Rice
* gnu/services/cups.scm (cups-configuration): Add splix to the default extensions. * doc/guix.texi (Printing Services): Document it.
2020-11-21gnu: Rename escpr to epson-inkjet-printer-escpr.Tobias Geerinckx-Rice
‘escpr’ is nice and short, but everyone else calls this package ‘epson-inkjet-printer-escpr’. More importantly, so does upstream. * gnu/packages/cups.scm (escpr, epson-inkjet-printer-escpr,): Rename escpr to epson-inkjet-printer-escpr, redefining escpr as deprecated-package. Adjust all users.
2020-11-19Merge branch 'master' into stagingMarius Bakke
2020-11-18gnu: vpn: Make ca, key and cert optional.Julien Lepiller
* gnu/services/vpn.scm (openvpn-client-configuration) (openvpn-server-configuration): Make ca, key an cert fields optional. * doc/guix.texi (VPN Services): Document the change.
2020-11-18services: cups: Add some extensions by default.Danny Milosavljevic
* gnu/services/cups.scm (cups-configuration): Add some extensions by default. doc/guix.texi (Printing Services): Document the default value.
2020-11-17doc: Add a backslash escape to the disk-image example.Maxim Cournoyer
* doc/guix.texi (Invoking guix system): Add a backslash escape.
2020-11-17guix: system: Make disk-image root file system non-volatile by default.Maxim Cournoyer
And add a new '--volatile' option to have it volatile otherwise. * guix/scripts/system.scm (%options)[volatile-root?]: New boolean option. (%default-options): Set its default value to #f. (show-help): Add help doc. * guix/scripts/system.scm (perform-action): Propagate option... (system-derivation-for-action): ...here. Use it to set the volatile-root? field of the image object passed to SYSTEM-IMAGE. * doc/guix.texi (Invoking guix system): Document it.
2020-11-17doc: Detail which bootloader get used with disk-image or vm-image.Maxim Cournoyer
* doc/guix.texi (Invoking guix system): Extend doc.
2020-11-15Merge branch 'master' into stagingMarius Bakke
2020-11-15doc: Add a note about SELinux relabeling after upgrades to guix-daemon.Daniel Brooks
* doc/guix.texi (SELinux Support): Add note about upgrades. Signed-off-by: Marius Bakke <marius@gnu.org>
2020-11-14doc: Remove superfluous comma.Matthew Kraai
* doc/guix.texi (Managing Software the Guix Way): Remove comma. Signed-off-by: Leo Famulari <leo@famulari.name>
2020-11-14doc: Document hg-fetch.Holger Peters
* doc/guix.texi (origin Reference): Add documentation for hg-fetch. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-11-14doc: Fix Guix Build Coordinator agent configuration defaults.Christopher Baines
* doc/guix.texi (Guix Build Coordinator): Fix some guix-build-coordinator-agent-configuration defaults.
2020-11-11gnu: mingetty-shepherd-service: Make 'clear-on-logout' configurable.Mark H Weaver
Also change the default configuration to clear on logout, which is the upstream default. * gnu/services/base.scm (<mingetty-configuration>): Add 'clear-on-logout?' field. (mingetty-shepherd-service): Pass the "--noclear" option to mingetty only if 'clear-on-logout?' is #false. * doc/guix.texi (Base Services): Document the 'clear-on-logout?' field.
2020-11-07Merge branch 'master' into stagingMarius Bakke
Conflicts: gnu/local.mk gnu/packages/gdb.scm gnu/packages/lisp-xyz.scm gnu/packages/web-browsers.scm
2020-11-07doc: Fix Zabbix ‘db-secret-file’ documentation.Tobias Geerinckx-Rice
* doc/guix.texi (Monitoring Services): Clarify ‘db-secret-file’'s (lack of) structure and gexp support.
2020-11-05services: Add yggdrasil-service-type.raingloom
* gnu/services/networking.scm (yggdrasil-configuration) (yggdrasil-configuration?, yggdrasil-configuration-package) (yggdrasil-configuration-auto-conf, yggdrasil-configuration-log-level) (yggdrasil-configuration-log-to): New procedures. (yggdrasil-service-type): New variable. * doc/guix.texi: Document it. * gnu/system/examples/yggdrasil.tmpl: Provide example. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-11-03doc: Illustrate procedures that return packages.Ludovic Courtès
* doc/guix.texi (Defining Package Variants): Illustrate procedures that return packages.
2020-11-03doc: Use '@lisp' for 'options->transformation' example.Ludovic Courtès
* doc/guix.texi (Defining Package Variants): Use @lisp for 'options->transformation' example.
2020-11-02doc: Fix typo.Miguel Ángel Arruga Vivas
* doc/guix.texi (Invoking guix publish)<cache-bypass-threshold>: The unit suffixes the numeric value.
2020-11-02doc: Complete sentence in earlyoom-configuration doc.Maxim Cournoyer
* doc/guix.texi (Linux Services): Complete sentence in earlyoom-configuration doc. Reported-by: Julien Lepiller <julien@lepiller.eu>
2020-11-01doc: Fix typo.Julien Lepiller
* doc/guix.texi (DNS Services): Fix typo.
2020-11-01doc: Fix typo.Julien Lepiller
* doc/guix.texi (Sound Services): Fix typo.
2020-11-01doc: Add missing period at the end of the sentence.Miguel Ángel Arruga Vivas
2020-10-31doc: Add "Defining Package Variants" section.Ludovic Courtès
* doc/guix.texi (Defining Packages): Move documentation of 'package-input-rewriting' & co. to... (Defining Package Variants): ... here. New node. Also document 'inherit' and 'options->transformation'.
2020-10-30services: guix-publish: Add 'cache-bypass-threshold' field.Ludovic Courtès
This is a followup to ecaa102a58ad3ab0b42e04a3d10d7c761c05ec98. * gnu/services/base.scm (<guix-publish-configuration>)[cache-bypass-threshold]: New field. (guix-publish-shepherd-service): Honor it.