summaryrefslogtreecommitdiff
path: root/doc/guix.texi
Commit message (Collapse)AuthorAge
* services: colord: Deprecate 'colord-service' procedure.Ludovic Courtès2019-11-01
| | | | | | | * gnu/services/desktop.scm (colord-service-type)[default-value]: New field. (colord-service): Define with 'define-deprecated'. (%desktop-services): Use 'colord-service-type' instead of 'colord-service'. * doc/guix.texi (Desktop Services): Adjust accordingly.
* gnu: mpd-service-type: Support configuration of outputs.Ricardo Wurmus2019-10-29
| | | | | | | | * gnu/services/audio.scm (<mpd-output>): New record type. (<mpd-configuration>)[outputs]: New field. (mpd-output, mpd-output?, mpd-output->string): New procedures. (mpd-config->file): Use mpd-output->string. * doc/guix.texi (Audio Services): Document mpd-output fields.
* pull: Honor '/etc/guix/channels.scm'.Ludovic Courtès2019-10-27
| | | | | | * guix/scripts/pull.scm (channel-list)[global-file]: New variable. [channels]: Honor it. * doc/guix.texi (Invoking guix pull): Document it.
* services: gdm: Add 'debug?' configuration field.Timothy Sample2019-10-26
| | | | | | * gnu/services/xorg.scm (<gdm-configuration>)[debug?]: New field. (gdm-configuration-file): Use it. * doc/guix.texi: Document it.
* cve: Rewrite to read the JSON feed instead of the XML feed.Ludovic Courtès2019-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XML feed was discontinued on Oct. 16th, 2019: <https://nvd.nist.gov/General/News/XML-Vulnerability-Feed-Retirement-Phase-3> * guix/cve.scm (string->date*): New procedure. (<cve-item>, <cve>, <cve-reference>): New record types. (cpe-match->cve-configuration, configuration-data->cve-configurations) (json->cve-items, version-matches?): New procedures. (yearly-feed-uri): Change URL to refer to JSON feed. (cpe->product-alist, %parse-vulnerability-feed) (xml->vulnerabilities): Remove. (cve-configuration->package-list, merge-package-lists) (cve-item->vulnerability, json->vulnerabilities): New procedures. (write-cache): Use 'json->vulnerabilities' instead of 'xml->vulnerabilities', and remove 'parameterize'. (vulnerabilities->lookup-proc): Use 'version-matches?' when VERSION is true. * tests/cve.scm (%sample): Use 'tests/cve-sample.json'. (%expected-vulnerabilities): Rewrite accordingly. ("json->cve-items", "cve-item-published-date") ("json->vulnerabilities"): New tests. ("xml->vulnerabilities"): Remove. ("vulnerabilities->lookup-proc"): Adjust to new vulnerabilities. * tests/cve-sample.json: New file. * tests/cve-sample.xml: Remove. * Makefile.am (EXTRA_DIST): Adjust accordingly. * doc/guix.texi (Invoking guix lint): Update nist.gov URLs.
* machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'.Ludovic Courtès2019-10-22
| | | | | | | | * gnu/machine/digital-ocean.scm (<digital-ocean-configuration>)[enable-ipv6]: Rename to... [enable-ipv6?]: ... this. (deploy-digital-ocean): Adjust accordingly. * doc/guix.texi (Invoking guix deploy): Adjust accordingly.
* machine: Implement 'digital-ocean-environment-type'.Jakob L. Kreuze2019-10-22
| | | | | | | | | * gnu/machine/digital-ocean.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Invoking guix deploy): Add documentation for 'digital-ocean-configuration'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: inputattach: Add 'baud-rate' parameter.Tim Gesthuizen2019-10-21
| | | | | | | | | * gnu/services/desktop.scm (inputattach-configuration): Add baud-rate field. (inputattach-shepherd-service): Add baud-rate to parameters when specified. * doc/guix.texi (Miscellaneous Services): [inputattach Service] Document baud-rate parameter. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: sddm: Deprecate 'sddm-service' procedure.Ludovic Courtès2019-10-21
| | | | | | * gnu/services/sddm.scm (sddm-service): Mark as deprecated. * doc/guix.texi (X Window): Document 'sddm-service-type' and 'sddm-configuration'.
* Fix documentation of delete_after in the getmail service.Florian Pelz2019-10-18
| | | | | * doc/guix.texi (Getmail service): Remove the word `not'. * gnu/services/getmail.scm (getmail-options-configuration): Ditto.
* doc: Remove 'maintainers' field from package documentation.Christopher Baines2019-10-17
| | | | | | The field itself was removed in 154f1f0937754fafac0c6288dd458b66b332e6bb. * doc/guix.texi (package Reference): Remove 'maintainers' field.
* gnu: Add nsis-x86_64 and nsis-i686.Carl Dong2019-10-11
| | | | | | | | | | | | | | * guix/build-system/scons.scm (scons-build): Add build-targets and install-targets parameters. * guix/build/scons-build-system.scm (build, install): Adjust accordingly. * doc/guix.texi (Build Systems): Document it. * gnu/packages/installers.scm: New file, (make-nsis): New procedure, (nsis-x86_64, nsis-i686): New variables. * gnu/packages/patches/nsis-env-passthru.patch: New file. * gnu/local.mk (dist_patch_DATA, GNU_SYSTEM_MODULES): Adjust accordingly.
* Merge branch 'master' into core-updatesRicardo Wurmus2019-10-06
|\
| * services: httpd: Fix virtual-host doc and config.Jan Nieuwenhuizen2019-10-04
| | | | | | | | | | | | * doc/guix.texi (Web Services): Fix httpd-virtualhost examples. * gnu/services/web.scm (httpd-process-extensions): Add missing newline separator.
| * import: crate: Add '--recursive'.Martin Becze2019-10-01
| | | | | | | | | | | | | | * guix/scripts/import/crate.scm (show-help, guix-import-crate): Add '--recursive'. * doc/guix.texi (Invoking guix import): Mention '--recursive'. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* | Merge branch 'master' into core-updatesLudovic Courtès2019-10-01
|\|
| * doc: Add a 'Upgrading Guix' section to the 'Installation' chapter.Maxim Cournoyer2019-09-29
| | | | | | | | | | | | | | | | | | This follows a discussion regarding issue #36785 (see: https://bugs.gnu.org/36785). * doc/guix.texi (Upgrading Guix): New section. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * doc: Don't support a risky mix of Guix & Nix.Tobias Geerinckx-Rice2019-09-28
| | | | | | | | | | * doc/guix.texi (Requirements): Remove instructions for sharing a store and/or a daemon with Nix.
* | Merge branch 'master' into core-updatesMarius Bakke2019-09-27
|\|
| * guix package: Add '--list-profiles'.Ludovic Courtès2019-09-26
| | | | | | | | | | | | * guix/scripts/package.scm (show-help, %options): Add '--list-profiles'. (process-query): Honor it. * tests/guix-package.sh: Add test.
| * doc: Do not comment out closing parens in Android examples.Ludovic Courtès2019-09-26
| | | | | | | | | | * doc/guix.texi (Base Services): Arrange so that closin parens are not commented out.
| * doc: Add missing paren in CPE example.Ludovic Courtès2019-09-26
| | | | | | | | | | * doc/guix.texi (Invoking guix lint): Add missing paren in 'cpe-name' example.
| * doc: Add missing parens in inetd example.Ludovic Courtès2019-09-26
| | | | | | | | | | * doc/guix.texi (Networking Services): Add missing parens in inetd service example.
| * doc: Fix syntax of Varnish example.Ludovic Courtès2019-09-26
| | | | | | | | | | * doc/guix.texi (Web Services): Escape nested string in '%gnu-mirror' variable definition. Adjust indentation.
| * doc: Avoid @verbatiminclude for Scheme snippets.Ludovic Courtès2019-09-25
| | | | | | | | | | | | * doc/guix.texi (Invoking guix package): Use @include instead of @verbatiminclude. (Additional Build Options): Likewise.
| * doc: Fix installing Guix in VMBrice Waegeneire2019-09-25
| | | | | | | | | | | | | | | | * doc/guix.texi (Installing Guix in a Virtual Machine): Pass "order=d" to '-boot' option. Use "-drive media=cdrom" for the ISO image. Remove paragraph about ordering and the boot menu. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * services: Add the Guix Data Service.Christopher Baines2019-09-25
| | | | | | | | | | | | | | | | * gnu/services/guix.scm: New file. * gnu/tests/guix.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add both new files. * doc/guix.texi (Guix Services): New section documenting the Guix Data Service.
| * doc: Remove more ‘guixsd’ remnants.Tobias Geerinckx-Rice2019-09-24
| | | | | | | | | | * doc/guix.texi (Installing Guix in a VM): Use ‘guix-system.img’ as image file name.
* | Merge branch 'master' into core-updatesLudovic Courtès2019-09-24
|\|
| * doc: Fix typo.Tobias Geerinckx-Rice2019-09-23
| | | | | | | | * doc/guix.texi (Build Systems): Fix/spoil ‘libary’ typo/joke.
| * doc: Explain that '--profile' expects a file name.Ludovic Courtès2019-09-23
| | | | | | | | | | * doc/guix.texi (Invoking guix package): Explain that the argument to --profile is a file name.
| * pull: Display channel news.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | * guix/scripts/pull.scm (display-news-entry) (display-channel-specific-news): New procedures. (display-channel-news): Call it. (display-new/upgraded-packages): Adjust hint message. * doc/guix.texi (Invoking guix pull): Mention it.
| * channels: Allow news entries to refer to a tag.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Ricardo Wurmus <rekado@elephly.net>. * guix/channels.scm (<channel-news-entry>)[tag]: New field. (sexp->channel-news-entry): Accept either 'commit' or 'tag' in 'entry' forms. (resolve-channel-news-entry-tag): New procedure. (channel-news-for-commit): Move 'with-repository' form one level higher. Call 'resolve-channel-news-entry-tag' on all the news entries. * guix/tests/git.scm (populate-git-repository): Add clause for 'tag'. * tests/channels.scm ("channel-news, one entry"): Create a tag and add an entry with a tag. Check that the tag is resolved and also visible in the <channel-news-entry> record. * doc/guix.texi (Channels): Mention tags in news entries.
| * channels: Add support for a news file.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/channels.scm (<channel-metadata>)[news-file]: New field. (read-channel-metadata): Set the 'news-file' field. (read-channel-metadata-from-source): Likewise. (<channel-news>, <channel-news-entry>): New record types. (sexp->channel-news-entry, read-channel-news) (channel-news-for-commit): New procedures. * guix/tests/git.scm (populate-git-repository): For 'add', allow CONTENTS to be a procedure. * tests/channels.scm ("channel-news, no news") ("channel-news, one entry"): New tests. * doc/guix.texi (Channels): Document it.
| * guix package: Add 'guix show' alias.zimoun2019-09-21
| | | | | | | | | | | | | | | | | | | | * guix/scripts/show.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it. * tests/guix-package-aliases.sh: Add test. * doc/guix.texi (Invoking guix package): Document it and use it in a example. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * scripts: pull: Add options for generation managementKonrad Hinsen2019-09-18
| | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (%options) Add --roll-back, --switch-generation, --delete-generations (process-generation-change): New function (guix-pull): Execute generation management operations * doc/guix.texi: Document the generation management operations Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * doc: Mention the "repository name" for 'guix pack -f docker'.Ludovic Courtès2019-09-18
| | | | | | | | | | | | This is a followup to 0074844366381e3056d09492b8b437836c7adb61. * doc/guix.texi (Invoking guix pack): Mention the repository name.
| * services: Add nftables-service-type.宋文武2019-09-18
| | | | | | | | | | | | | | | | * gnu/services/networking.scm (%default-nftables-ruleset): New variable. (<nftables-configuration>): New record type. (nftables-shepherd-service): New procedure. (nftables-service-type): New service type. * doc/guix.texi (Networking Services): Document it.
* | Merge branch 'master' into core-updatesLudovic Courtès2019-09-17
|\|
| * services: certbot: Add --manual-public-ip-logging-ok for manual challengesCarlo Zancanaro2019-09-16
| | | | | | | | | | | | | | | | * gnu/services/certbot.scm (certbot-command): Add --manual-public-ip-logging-ok flag to the certbot command when doing a manual challenge. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * doc: Actually suggest ‘fc-cache -r’.Tobias Geerinckx-Rice2019-09-11
| | | | | | | | | | | | A follow-up commit to 0cd3e99d64081e958919845ddd01ae8d2fb2d692. * doc/guix.texi (Application Setup): Fix my own typo.
| * doc: Run fc-cache verbosely and delete existing caches.Joshua Branson2019-09-11
| | | | | | | | | | | | | | * doc/guix.texi (Application Setup): Suggest ‘fc-cache -rv’ instead of ‘fc-cache -f’. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
| * import: crate: Allow imports of a specific version.Martin Becze2019-09-10
| | | | | | | | | | | | | | | | | | | | | | * guix/import/crate.scm (crate->guix-package): Add optional 'version' argument and honor it. * guix/scripts/import/crate.scm (guix-import-crate): Assume the first argument is a spec and destructure it with 'package-name->name+version'. Pass both to 'crate->guix-package'. * doc/guix.texi (Invoking guix import): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * services: ntp: Support different NTP server types and options.Maxim Cournoyer2019-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/services/networking.scm (ntp-server-types): New enum. (<ntp-server>): New record type. (ntp-server->string): New procedure. (%ntp-servers): Define in terms of <htp-server> records. Use the first entrypoint server as a pool instead of a list of static servers. This is more resilient since a new server of the pool can be interrogated on every request. Add the 'iburst' options. (ntp-configuration-servers): Define a custom accessor that warns but honors the now deprecated server format. (<ntp-configuration>): Use it. (%openntpd-servers): New variable, (<openntpd-configuration>): Use it, as a pool ('servers' field) instead of a regular server. * tests/networking.scm: New file. * Makefile.am (SCM_TESTS): Register it. * doc/guix.texi: Update documentation.
| * doc: Add index to find 'ntpd'.Maxim Cournoyer2019-09-08
| | | | | | | | * doc/guix.texi (Networking Services): Add @cindex to find 'ntpd'
| * services: ntp: Allow large adjustment by default.Maxim Cournoyer2019-09-08
| | | | | | | | | | | | | | | | | | | | This is documented as best practice in `man ntpd', and is required to allow the date to be set correctly when traveling (without having to manually update the hardware clock in the BIOS/UEFI). * gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set the default value to #t. * doc/guix.texi (Networking Services): Update documentation.
| * doc: Fix verb conjugation.Matthew Kraai2019-09-08
| | | | | | | | | | | | * doc/guix.texi (Invoking guix pull): Change "run" to "ran". Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
| * daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'.Ludovic Courtès2019-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nix/scripts/list-runtime-roots.in: Remove. * guix/store/roots.scm (%proc-directory): New variable. (proc-file-roots, proc-exe-roots, proc-cwd-roots) (proc-fd-roots, proc-maps-roots, proc-environ-roots) (referenced-files, canonicalize-store-item, busy-store-items): New procedures, taken from 'list-runtime-roots.in'. * nix/libstore/globals.hh (Settings)[guixProgram]: New field. * nix/libstore/globals.cc (Settings::processEnvironment): Initialize 'guixProgram'. * nix/libstore/gc.cc (addAdditionalRoots): Drop code related to 'NIX_ROOT_FINDER'. Run "guix gc --list-busy". * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove 'scripts/list-runtime-roots'. * config-daemon.ac: Don't output nix/scripts/list-runtime-roots. * build-aux/pre-inst-env.in: Don't set 'NIX_ROOT_FINDER'. Set 'GUIX'. * doc/guix.texi (Invoking guix gc): Document '--list-busy'. * guix/scripts/gc.scm (show-help, %options): Add "--list-busy". (guix-gc)[list-busy]: New procedure. Handle the 'list-busy' action.
| * doc: Use @lisp instead of @example for Scheme snippets.Ludovic Courtès2019-09-07
| | | | | | | | | | | | | | | | This is a followup to f8c143a7131d6f40f387f4cd2ad1fa78b5e2f429, which allows syntax highlighting of @lisp snippets in the HTML output. * doc/guix.texi, doc/contributing.texi: Use @lisp instead of @example for all the Scheme snippets.
* | Merge branch 'master' into core-updatesMark H Weaver2019-09-06
|\|