summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2026-01-19doc: Use versioned manual URLs.version-1.4.0Rutherther2-4/+6
* doc/build.scm (stylized-html): Move to versioned manual URL. (html-manual): Use versioned manual URL. * doc/htmlxref.cnf (GUIX): Add /1.4.0. Change-Id: I82048a9548894e335e7c2427a739733304a7961a Co-authored-by: Ludovic Courtès <ludo@gnu.org> Fixes: #5681
2025-07-09doc: Fix URL of ‘language-picker.svg’.Ludovic Courtès1-2/+2
Fixes a regression introduced in 824d46a2fee18111a2a80f7805404a1ea58134c7. * doc/build.scm (stylized-html)[build]: Avoid double leading slash for ‘language-picker.svg’. Change-Id: I0817949862f061dbbe04352bda1e479347015c84
2025-07-09doc: Add links to versions and variants as a drop-down menu.Ludovic Courtès1-5/+70
* doc/build.scm (%latest-guix-version): New variable. (stylized-html): Add #:latest-version. [build](menu-item-separator): New variable. (version-menu-items, input-file-language): New procedures. (stylized-html, process-html): Add ‘language’ parameter. Update callers. Change-Id: If7cea2410802eec5af1d3c0407d5569250eb15ef
2025-07-09doc: Really honor ‘GUIX_WEB_SITE_URL’.Ludovic Courtès1-2/+3
This is useful when testing changes locally, so that CSS links point to the right place. * doc/build.scm (%web-site-url): Default to /. (%manual-css-url): Honor ‘%web-site-url’. Change-Id: I8d885eba0fb8560dd7da7f21629c716a06c16b1f
2025-06-16doc: Update build machinery for today’s ‘master’.Ludovic Courtès1-3/+3
This updates TeX Live package names to match what’s available in today’s ‘master’ branch since ‘master’ is what is used to build the on-line copy of the manual. * doc/build.scm (pdf-manual)[texinfo-profile]: Update TeX Live package names. Change-Id: I5db327e1543a1f9a8697bf3b1b65ab50959efdc4
2025-06-16doc: Use CSS from guix.gnu.org.Ludovic Courtès1-3/+7
This is a followup to commit 7bbc00ccf0315a68509cacd6a85e1ae8ae7f5e5d of guix/artwork.git. * doc/build.scm (%manual-css-url): New variable. (%makeinfo-html-options): Use it instead of www.gnu.org/…/manual.css. (stylized-html): Likewise for the default #:manual-css-url. Change-Id: I20bd3866383f8cbb4984993c15dbab483a17f6c9
2025-06-16doc: build.scm: Handle (current-source-directory) being #f.Christopher Baines1-2/+5
Since this seems to be the case when the devel manual is being built on bayfront. * doc/build.scm: Use the current working directory as a fallback if (current-source-directory) is #f, and log the value of root. Change-Id: Ic43fd05a4a0822d9efb935069850f0a8cadd80aa
2025-04-09doc: Change ‘guix-install.sh’ URL to https://guix.gnu.org/install.sh.Ludovic Courtès1-4/+4
This is a followup to 47d554602c34a15c24efbc87e3bc2806f9f68055, as proposed in <https://lists.gnu.org/archive/html/guix-devel/2025-01/msg00167.html>. * doc/guix.texi (Installation, Binary Installation): Change URL for installation script. Add ‘-O guix-install.sh’ to wget command line. Change-Id: I83702cacc3bdf8d15d3972d2de17e1ce8607ed52
2025-03-12doc: Use the correct patch submission email address.Leo Famulari1-1/+1
Reported by sleep_walker on #guix. * doc/contributing.texi (Sending a Patch Series): Fix the email address in the example. Change-Id: If81243f9f23128a62201a77d328c158de94a4683 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-01-21doc: Add missing quotes in wget command for ‘guix-install.sh’.Ludovic Courtès1-1/+1
* doc/guix.texi (Binary Installation): Add missing quotes in wget command. Change-Id: I4ebb50492070c298ccc4f02e62d90e875ffe44da
2025-01-21doc: Change ‘guix-install.sh’ URL to gitweb.Ludovic Courtès1-3/+3
The cgit interface at Savannah has been taken down. * doc/guix.texi (Installation): Change ‘guix-install.sh’ URL to gitweb. Change-Id: I45274bdb7713d16bafe2d0b464865362bddcf303
2024-09-05doc: build: Handle when guile source is packed with zstd.Florian Pelz1-0/+1
* doc/build.scm (guile-manual): Also include zstd in PATH. Change-Id: Iff49825fe84121bff777ed45c03fb14af0a0e719
2024-07-26doc: Repair building non-English website manuals.Ludovic Courtès1-3/+112
Fixes: <https://issues.guix.gnu.org/72257>. * doc/build.scm (translated-texi-manuals): Copy the code from (@ (guix self) translate-texi-manuals) rather than importing it. This fixes building doc/build.scm at version 1.4.0 with recent Guix revisions. Change-Id: Ia23425f824e4a6e619f32a28493b811c0e7c31d5 Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2023-06-08doc: Adjust HTML patterns to correctly process Texinfo 6.8 output.Ludovic Courtès1-4/+13
Prior to ceb5ef8347ae0e3015296f5c169ab903bac526a8, (@ (gnu packages texinfo) texinfo), which is what is used here, was pointing to version 6.7. * doc/build.scm (html-manual-identifier-index)[build](worthy-entry?): Adjust patterns for Texinfo 6.8. (syntax-highlighted-html)[build](syntax-highlight): Likewise.
2022-12-18gnu: guix: Update to 1.4.0.Ludovic Courtès1-3/+3
2022-12-18doc: Update URLs for the manual and cookbook translations.v1.4.0Ludovic Courtès1-3/+7
* doc/htmlxref.cnf: Update URLs for "guix" and "guix-cookbook".
2022-12-18doc: Add guile-netlink to 'htmlxref.cnf'.Ludovic Courtès1-1/+3
* doc/htmlxref.cnf: Add guile-netlink.
2022-12-18services: kmsconf: Load GNU Freefont.Ludovic Courtès1-1/+10
This provides glyphs for additional fonts such as Amharic that were otherwise missing. Fixes <https://issues.guix.gnu.org/60164>. Reported by Wolf <wolf@wolfsden.cz>. * gnu/services/base.scm (kmscon-service-type): In 'start' method, pass #:environment-variables to set 'XDG_DATA_DIRS'.
2022-12-18installer: final: Delete SQLite WAL and shm files upon completion.Ludovic Courtès1-1/+9
Previously, db.sqlite-{wal,shm} could be left behind after stopping guix-daemon. When resuming installation, SQLite could end up behaving as if transactions visible in the WAL file had been committed, in spite of having restored SAVED-DATABASE. Fixes <https://issues.guix.gnu.org/59784>. Reported by pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de>. * gnu/installer/final.scm (install-system): Before restarting guix-daemon, delete db.sqlite-{wal,shm}.
2022-12-18installer: final: Stop guix-daemon before accessing store database.Ludovic Courtès1-6/+16
As part of fixing <https://issues.guix.gnu.org/59784>, make sure /var/guix/db.sqlite is only copied while guix-daemon is stopped. * gnu/installer/final.scm (call-with-mnt-container): Add FIXME comment. (install-system): Copy DATABASE-FILE and SAVED-DATABASE only when 'guix-daemon' is stopped. Add logging lines.
2022-12-18Update NEWS.Ludovic Courtès1-3/+18
2022-12-18daemon: Make "opening file" error messages distinguishable.Ludovic Courtès3-4/+4
* nix/libstore/build.cc (DerivationGoal::openLogFile): Customize "opening file" error message. * nix/libutil/hash.cc (hashFile): Likewise. * nix/libutil/util.cc (readFile, writeFile): Likewise.
2022-12-17Update NEWS.Marius Bakke1-2/+9
2022-12-15install: Make sure uvesafb can be loaded.Ludovic Courtès1-1/+12
Fixes <https://issues.guix.gnu.org/60010>. Reported by pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de>. Previously, the 'modprobe' executable would try and fail to load the module from /lib/modules/*. Set 'LINUX_MODULE_DIRECTORY' to make sure 'modprobe' looks for the module in the right place. * gnu/system/install.scm (uvesafb-shepherd-service)[modprobe]: New variable. In 'start' method, invoke it instead of KMOD/bin/modprobe.
2022-12-15doc: Use VM image file name consistently.Ludovic Courtès7-15/+16
Previously, what "/tmp/qemu-image" refers to could be unclear at first. * doc/guix.texi (Running Guix in a VM): Use the original image file name instead of /tmp/qemu-image. * po/doc/guix-manual.de.po, po/doc/guix-manual.es.po, po/doc/guix-manual.fr.po, po/doc/guix-manual.pt_BR.po, po/doc/guix-manual.ru.po, po/doc/guix-manual.zh_CN.po: Adjust accordingly.
2022-12-14doc: Fix formatting for 'computed-file'.Bruno Victal1-2/+1
* doc/guix.texi (G-Expressions): Fix formatting for 'computed-file'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-14doc: Verify the release with my own OpenPGP key.Ludovic Courtès1-2/+2
* doc/guix.texi (OPENPGP-SIGNING-KEY-ID, OPENPGP-SIGNING-KEY-URL): Switch to my key.
2022-12-10gnu: guix: Update to 1.4.0rc2.Ludovic Courtès1-3/+3
2022-12-10deduplicate: Use 'sendfile' only with file ports.v1.4.0rc2Ludovic Courtès1-1/+4
Fixes a regression introduced in b129026e2e242e9068158ae6e6fcd8d7c5ea092e. * guix/store/deduplication.scm (dump-file/deduplicate): Use 'sendfile' only when INPUT' is a file port.
2022-12-10install: 'umount-cow-store' retries upon EBUSY.Ludovic Courtès1-2/+21
Possibly fixes <https://issues.guix.gnu.org/59884>. * gnu/build/install.scm (umount*): New procedure. (unmount-cow-store): Use it instead of 'umount'.
2022-12-10installer: Detect mapped installation devices.Mathieu Othacehe1-1/+33
Fixes: <https://issues.guix.gnu.org/59823> * gnu/installer/parted.scm (mapped-device?, mapped-device-parent-partition): New procedures. (eligible-devices): Detect mapped installation devices using the new procedures.
2022-12-10deduplicate: Use 'sendfile' for small file copies.Ludovic Courtès2-3/+18
* guix/store/deduplication.scm (dump-file/deduplicate): Use 'sendfile' instead of 'dump-port'. * tests/store-deduplication.scm ("copy-file/deduplicate, below %deduplication-minimum-size"): New test.
2022-12-09installer: Print progress bars and such as soon as \r is read.Ludovic Courtès2-13/+15
Fixes <https://issues.guix.gnu.org/59922>. Previously progress bars and related things would be buffered by 'run-external-command-with-line-hooks' until \n is read. * gnu/installer/utils.scm (run-external-command-with-line-hooks): Use 'read-delimited' rather than 'get-line'. Pass 'concat as the last argument. (%display-line-hook): Remove. (run-command): Use 'display' instead of '%display-line-hook'. (%syslog-line-hook): Add "\n" when LINE doesn't end in \n. (%installer-log-line-hook): Do not add an extra newline. (installer-log-line): Add an extra newline.
2022-12-09services: nscd: Use nscd from 'glibc-final' on native builds.Ludovic Courtès1-2/+9
This reduces the closure size of systems by removing one glibc copy--namely (@ (gnu packages base) glibc) in addition to (@ (gnu packages commencement) glibc-final). * gnu/services/base.scm (<nscd-configuration>)[glibc]: Change default value to use 'let-system' and 'canonical-package' as appropriate.
2022-12-09system: Remove unused yggdrasil OS template.Ludovic Courtès1-60/+0
This file was added in fe1cd098d2b83737e96f19438612291f5a9316e4 but it's not referenced from anywhere, not even gnu/local.mk. Furthermore, we don't normally add full OS examples for the purposes of illustrating the use of a single service. * gnu/system/examples/yggdrasil.tmpl: Remove.
2022-12-09environment: '-C' doesn't throw when the NSS is dysfunctional.Ludovic Courtès1-4/+11
Previously, if the name service switch was dysfunctional, as can happen on foreign distros lacking nscd, "guix shell -C" would crash with a backtrace on the uncaught 'getpwuid' exception. To address that, catch the exception and deal with it gracefully. Reported by remsd1 on #guix. * guix/scripts/environment.scm (launch-environment/container): Wrap 'getpwuid' call in 'false-if-exception'.
2022-12-09guix-install.sh: Authorize all project build farms at once.Tobias Geerinckx-Rice1-7/+15
* etc/guix-install.sh (sys_authorize_build_farms): Iterate over all hosts. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-12-08services: base: Use 'match-record' instead of 'match'.Ludovic Courtès1-462/+460
* gnu/services/base.scm (agetty-shepherd-service) (mingetty-shepherd-service) (nscd.conf-file) (udev-shepherd-service) (udev-etc) (gpm-shepherd-service) (network-set-up/linux) (network-tear-down/linux) (static-networking-shepherd-service) (greetd-agreety-tty-session-command) (greetd-agreety-tty-xdg-session-command): Use 'match-record' instead of 'match'. (guix-accounts): Use <guix-configuration> accessors. (udev-service-type): Use <udev-configuration> accessors.
2022-12-08home: services: Use 'match-record' instead of 'match'.Ludovic Courtès3-73/+73
* gnu/home/services/mcron.scm (home-mcron-shepherd-services): Use 'match-record' instead of 'match'. * gnu/home/services/shells.scm (home-bash-extensions): Likewise. * gnu/home/services/xdg.scm (serialize-xdg-desktop-entry): Likewise.
2022-12-08doc: Recommend 'match-record'.Ludovic Courtès1-1/+6
* doc/contributing.texi (Data Types and Pattern Matching): Recommend 'match-record'.
2022-12-08records: 'match-record' checks fields at macro-expansion time.Ludovic Courtès4-24/+122
This allows 'match-record' to be more efficient (field offsets are computed at compilation time) and to report unknown fields at macro-expansion time. * guix/records.scm (map-fields): New macro. (define-record-type*)[rtd-identifier]: New procedure. Define TYPE as a macro and use a separate identifier for the RTD. (lookup-field, match-record-inner): New macros. (match-record): Rewrite in terms of 'match-error-inner'. * tests/records.scm ("match-record, simple") ("match-record, unknown field"): New tests. * gnu/services/cuirass.scm (cuirass-shepherd-service): Rename 'log-file' local variable to 'main-log-file'. * gnu/services/getmail.scm (serialize-getmail-configuration-file): Move after <getmail-configuration-file> definition.
2022-12-06services: fail2ban: Start server in the foreground.Ludovic Courtès1-10/+10
Previously, we were passing '-b', thereby starting the server in the background. Consequently the 'start' method could complete before the server was ready to accept connections on its socket, leading to non-deterministic test failures. Reported by Mathieu Othacehe <othacehe@gnu.org>. * gnu/services/security.scm (fail2ban-shepherd-service): Change FAIL2BAN-ACTION to invoke 'fail2ban-client'. Change 'start' method to use 'make-forkexec-constructor'; start the server in the foreground with '-f' and pass '-x' to force execution of the server, as done upstream in 'fail2ban.service.in'.
2022-12-06services: fail2ban: Remove unnecessary Shepherd 'modules' field.Ludovic Courtès1-2/+0
* gnu/services/security.scm (fail2ban-shepherd-service): Remove unnecessary 'modules' field.
2022-12-06services: fail2ban: 'stop' returns #f when the dameon is stopped.Ludovic Courtès1-9/+11
* gnu/services/security.scm (fail2ban-shepherd-service): Change FAIL2BAN-ACTION to return an 'invoke' gexp. Adjust the shepherd 'start' and 'stop' fields accordingly. Have 'stop' return #f on success.
2022-12-06gnu: texinfo, info-reader: Do not run tests when cross-compiling.Ludovic Courtès1-1/+2
Fixes a regression introduced in a3264f31df9774ea514e18ed8e7b6bcb44061edc. Reported by Mathieu Othacehe <othacehe@gnu.org>. * gnu/packages/texinfo.scm (texinfo)[arguments]: Change #:tests? to not run tests when cross-compiling.
2022-12-06image: Clarify comment.Ludovic Courtès1-3/+3
* gnu/system/image.scm: Adjust comment.
2022-12-06tests: docker-system: Increase image size.Ludovic Courtès1-2/+2
* gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase 'disk-image-size'.
2022-12-06system: vm: Non-volatile 'run-vm.sh' creates a CoW image.Ludovic Courtès1-9/+18
Previously, copying the image would consume a lot of space and was I/O-intensive, to the point that the marionette connection timeout of 20s could be reached when running tests like "docker-system". * gnu/system/vm.scm (common-qemu-options): Pass 'format=' for each '-drive' option. (system-qemu-image/shared-store-script)[copy-image]: New variable. [builder]: Use it when VOLATILE? is false.
2022-12-06Revert "tests: install: Fix iso-image-installer test."Maxim Cournoyer1-2/+0
This reverts commit 0f66ef9aa99d2043abccbc80d858bdeca57534ac. e2fsprogs is now included in the installation operating system since 34f69bc6e6ea555929ecca83ee7592f5261ff5f2, making this workaround obsolete. Suggested-by: Ludovic Courtès <ludo@gnu.org>
2022-12-06install: Add missing e2fsprogs utility.Maxim Cournoyer1-0/+1
* gnu/system/install.scm (%installer-disk-utilities): Add e2fsprogs. Reported-by: Adam Kandur <kefironpremise@gmail.com>