aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* doc: Fix formatting for 'computed-file'.Bruno Victal2022-12-14
| | | | | | * doc/guix.texi (G-Expressions): Fix formatting for 'computed-file'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc: Verify the release with my own OpenPGP key.Ludovic Courtès2022-12-14
| | | | | * doc/guix.texi (OPENPGP-SIGNING-KEY-ID, OPENPGP-SIGNING-KEY-URL): Switch to my key.
* gnu: guix: Update to 1.4.0rc2.Ludovic Courtès2022-12-10
|
* deduplicate: Use 'sendfile' only with file ports.Ludovic Courtès2022-12-10
| | | | | | | Fixes a regression introduced in b129026e2e242e9068158ae6e6fcd8d7c5ea092e. * guix/store/deduplication.scm (dump-file/deduplicate): Use 'sendfile' only when INPUT' is a file port.
* install: 'umount-cow-store' retries upon EBUSY.Ludovic Courtès2022-12-10
| | | | | | | Possibly fixes <https://issues.guix.gnu.org/59884>. * gnu/build/install.scm (umount*): New procedure. (unmount-cow-store): Use it instead of 'umount'.
* installer: Detect mapped installation devices.Mathieu Othacehe2022-12-10
| | | | | | | | | 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.
* deduplicate: Use 'sendfile' for small file copies.Ludovic Courtès2022-12-10
| | | | | | | * 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.
* installer: Print progress bars and such as soon as \r is read.Ludovic Courtès2022-12-09
| | | | | | | | | | | | | | | | 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.
* services: nscd: Use nscd from 'glibc-final' on native builds.Ludovic Courtès2022-12-09
| | | | | | | | | 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.
* system: Remove unused yggdrasil OS template.Ludovic Courtès2022-12-09
| | | | | | | | | 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.
* environment: '-C' doesn't throw when the NSS is dysfunctional.Ludovic Courtès2022-12-09
| | | | | | | | | | | | 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'.
* guix-install.sh: Authorize all project build farms at once.Tobias Geerinckx-Rice2022-12-09
| | | | | | | * etc/guix-install.sh (sys_authorize_build_farms): Iterate over all hosts. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* services: base: Use 'match-record' instead of 'match'.Ludovic Courtès2022-12-08
| | | | | | | | | | | | | | | | | * 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.
* home: services: Use 'match-record' instead of 'match'.Ludovic Courtès2022-12-08
| | | | | | | * 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.
* doc: Recommend 'match-record'.Ludovic Courtès2022-12-08
| | | | | * doc/contributing.texi (Data Types and Pattern Matching): Recommend 'match-record'.
* records: 'match-record' checks fields at macro-expansion time.Ludovic Courtès2022-12-08
| | | | | | | | | | | | | | | | | | 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.
* services: fail2ban: Start server in the foreground.Ludovic Courtès2022-12-06
| | | | | | | | | | | | | | | 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'.
* services: fail2ban: Remove unnecessary Shepherd 'modules' field.Ludovic Courtès2022-12-06
| | | | | * gnu/services/security.scm (fail2ban-shepherd-service): Remove unnecessary 'modules' field.
* services: fail2ban: 'stop' returns #f when the dameon is stopped.Ludovic Courtès2022-12-06
| | | | | | | * 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.
* gnu: texinfo, info-reader: Do not run tests when cross-compiling.Ludovic Courtès2022-12-06
| | | | | | | | | | 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.
* image: Clarify comment.Ludovic Courtès2022-12-06
| | | | * gnu/system/image.scm: Adjust comment.
* tests: docker-system: Increase image size.Ludovic Courtès2022-12-06
| | | | | * gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase 'disk-image-size'.
* system: vm: Non-volatile 'run-vm.sh' creates a CoW image.Ludovic Courtès2022-12-06
| | | | | | | | | | | 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.
* Revert "tests: install: Fix iso-image-installer test."Maxim Cournoyer2022-12-06
| | | | | | | | 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>
* install: Add missing e2fsprogs utility.Maxim Cournoyer2022-12-06
| | | | | | * gnu/system/install.scm (%installer-disk-utilities): Add e2fsprogs. Reported-by: Adam Kandur <kefironpremise@gmail.com>
* system: Rename and move %base-packages-disk-utilities.Maxim Cournoyer2022-12-06
| | | | | | | | | | | Rationale: It is only used in INSTALLATION-OS and doesn't make sense to be used in another context, given that file systems now automatically pull their dependencies since commit 45eac6cdf5c8d9d7b0c564b105c790d2d2007799 (services: Add file system utilities to profile). * gnu/system.scm (%base-packages-disk-utilities): Deprecate and rename to... * gnu/system/install.scm (%installer-disk-utilities): ... this. (installation-os) [packages]: Adjust accordingly.
* system: Add e2fsprogs to %base-packages-utils.Maxim Cournoyer2022-12-06
| | | | | | | | Rationale: Even when not using an ext file system, the utilities provided by e2fsprogs are useful, for example to set the copy-on-write attribute of a Btrfs file system. * gnu/system.scm (%base-packages-utils): Add e2fsprogs.
* gnu: julia-documenter: Fix test suite regression.zimoun2022-12-05
| | | | | | | | * gnu/packages/julia-xyz.scm (julia-documenter)[arguments]<#:phases>: Substitute a work around to fix the change of 'git submodule' default behaviour introduced by Git v2.38.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* installer: Log provenance data.Ludovic Courtès2022-12-05
| | | | | * gnu/installer.scm (provenance-sexp): New procedure. (installer-program)[installer-builder]: Add 'installer-log-line' call.
* nls: Update translations.Julien Lepiller2022-12-04
| | | | | po/packages/vi.po: New file. po/packages/LINGUAS: Add it.
* services: configuration: Rename location accessor to "source-location".Maxim Cournoyer2022-12-04
| | | | | | | | | | | Fixes <https://issues.guix.gnu.org/59423>. * gnu/services/configuration.scm (define-configuration-helper): Rename the accessor of the %location field from "NAME-location" to "NAME-source-location". Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Reported-by: Pierre Langlois <pierre.langlois@gmx.com>
* build: Add 'sanity-check-next.py' to the distribution.Ludovic Courtès2022-12-03
| | | | | | Reported by Vagrant Cascadian <vagrant@debian.org>. * Makefile.am (AUX_FILES): Add 'sanity-check-next.py'.
* Update NEWS.Ludovic Courtès2022-12-02
|
* modules: Recognize #:declarative?.Ludovic Courtès2022-12-02
| | | | | | | | | | | This addition has become necessary since commit 54003af85cc5b689bd328b30617c93ed2f5fd647, which makes use of #:declarative? in modules produced by 'make-config.scm'. Reported by zimoun <zimon.toutoune@gmail.com>. * guix/modules.scm (extract-dependencies): Recognize #:declarative?, which was introduced in Guile 3.0.8.
* syscalls: Adjust for lack of 'libutil.so' on glibc >= 2.34.Ludovic Courtès2022-12-02
| | | | | | | | | | This is a re-implementation of 3c8b6fd94ceb1e898216929e8768fb518dbf1de9 done in a way that works for both glibc >= 2.34 and earlier versions. * guix/build/syscalls.scm (syscall->procedure): When LIBRARY is true, fall back to global symbols if (dynamic-link library) fails. (cherry picked from commit 3f6c32a88fc7a4d707ae1ed8ef3f7bd995461aff)
* gnu: guix: Update to 1.4.0rc1.Ludovic Courtès2022-11-30
|
* maint: Adjust sed script from 'release' target.Ludovic Courtès2022-11-30
| | | | | | | | This is a followup to fdafd404325413da4d5fdd717c84e57a51c60fe2. This effect would to set 'GUIX_DISPLAYED_VERSION' to the empty string. * Makefile.am (release): Remove '/v' from sed script for GUIX_DISPLAYED_VERSION.
* build: Build gnu/packages/*.go in two passes.Ludovic Courtès2022-11-30
| | | | | | | | | | | | This works around <https://issues.guix.gnu.org/59717>, whereby heap usage would go beyond what's reasonable, preventing compilation of the 'guix' package on armhf-linux. This is a followup to ef82ba9dd94369926eb13325d5e7da4306d23dd7. * Makefile.am (MODULES_PACKAGES1, MODULES_PACKAGES): New variables. (MODULES_PACKAGES): Define in terms of them and use :=. (MODULES_CORE, MODULES_SYSTEM, MODULES_CLI, MODULES_PO): Define with :=.
* maint: Leave 'gcc-toolchain' out for i586-gnu.Ludovic Courtès2022-11-28
| | | | | | | | | This is a temporary measure to work around the fact that we're currently lacking the necessary CPU power and human power to build everything up to 'gcc-toolchain'. * etc/release-manifest.scm (%base-packages/hurd): Comment out "gcc-toolchain" for now.
* Merge commit 'master' into version-1.4.0Ludovic Courtès2022-11-28
|\
| * gnu: cl-calispel: Fix homepage URL.Paul A. Patience2022-11-28
| | | | | | | | | | | | * gnu/packages/lisp-xyz.scm (sbcl-calispel)[home-page]: Fix URL. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
| * gnu: Add cl-with-user-abort.Paul A. Patience2022-11-28
| | | | | | | | | | | | | | * gnu/packages/lisp-xyz.scm (sbcl-with-user-abort, cl-with-user-abort, ecl-with-user-abort): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
| * gnu: Add aerc.(unmatched-parenthesis2022-11-28
| | | | | | | | | | | | * gnu/packages/mail.scm (aerc): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
| * gnu: calibre: Add missing python-pycryptodome dependency.Andrew Tropin2022-11-28
| | | | | | | | | | * gnu/packages/ebook.scm (calibre)[inputs]: Add missing python-pycryptodome dependency.
| * gnu: mympd: Update to 10.1.3Bruno Victal2022-11-28
| | | | | | | | | | | | * gnu/packages/mpd.scm (mympd): Update to 10.1.3. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
| * gnu: telega: Use new package style.Andrew Tropin2022-11-28
| | | | | | | | | | * gnu/packages/emacs-xyz.scm (emacs-telega, emacs-telega-contrib): Use gexps, remove trailing #t.
| * gnu: Add emacs-spongebob.jgart2022-11-28
| | | | | | | | | | | | * gnu/packages/emacs-xyz.scm (emacs-spongebob): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
| * gnu: Add emacs-frowny.jgart2022-11-28
| | | | | | | | | | | | * gnu/packages/emacs-xyz.scm (emacs-frowny): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
| * gnu: lxqt: Change version to 1.2.0.宋文武2022-11-28
| | | | | | | | * gnu/packages/lxqt.scm (lxqt): Use the version of liblxqt.
| * gnu: screengrab: Update to 2.5.0.宋文武2022-11-28
| | | | | | | | * gnu/packages/lxqt.scm (screengrab): Update to 2.5.0.