guix/etc
David Elsing 30e51cb6b4
gexp: ‘with-parameters’ properly handles ‘%graft?’.
Fixes <https://issues.guix.gnu.org/75879>.

* .dir-locals.el (scheme-mode): Remove mparameterize indentation rules.
Add state-parameterize and store-parameterize indentation rules.
* etc/manifests/system-tests.scm (test-for-current-guix): Replace
mparameterize with store-parameterize.
* etc/manifests/time-travel.scm (guix-instance-compiler): Likewise.
* gnu/tests.scm (compile-system-test): Likewise.
* guix/gexp.scm (compile-parameterized): Use state-call-with-parameters.
* guix/monads.scm (mparameterize): Remove macro.
(state-call-with-parameters): New procedure.
(state-parameterize): New macro.
* guix/store.scm (store-parameterize): New macro.
* tests/gexp.scm ("with-parameters for %graft?"): New test.
* tests/monads.scm ("mparameterize"): Remove test.
("state-parameterize"): New test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I0c74066ca3f37072815b073fb3039925488a9645
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-03-05 00:28:49 +01:00
..
completion gnupg: Automatically fallback to 'always policy when non-interactive. 2025-02-28 13:36:44 +09:00
git etc: Update the commit-msg hook. 2025-02-22 23:55:24 +09:00
init.d etc: Add explicit ‘--substitute-urls’ in guix-daemon service files. 2024-06-26 22:59:55 +02:00
manifests gexp: ‘with-parameters’ properly handles ‘%graft?’. 2025-03-05 00:28:49 +01:00
openrc
snippets etc: snippets: Improve usability of tempel phases snippets. 2025-01-16 08:42:05 +01:00
substitutes
teams teams: gnome: Add gnome-extension-manifest. 2025-01-16 08:41:01 +01:00
committer.scm.in committer: Fix for inputs that are lists by using object->string. 2024-10-15 18:40:09 +02:00
copyright.el
gnu-store.mount.in
guix-daemon.cil.in etc: SELinux: Update policy file. 2023-05-25 12:51:15 +02:00
guix-daemon.conf.in etc: Add explicit ‘--substitute-urls’ in guix-daemon service files. 2024-06-26 22:59:55 +02:00
guix-daemon.service.in etc: Add explicit ‘--substitute-urls’ in guix-daemon service files. 2024-06-26 22:59:55 +02:00
guix-gc.service.in etc: Add systemd files for running ‘guix gc’ periodically 2021-09-20 14:18:21 +00:00
guix-gc.timer.in nix: Install guix-gc systemd timer. 2025-03-02 14:21:59 +02:00
guix-install.sh guix-install.sh: Convert sysv-init to SYSV_INIT_REQUIRE to match variable name. 2025-02-28 13:36:44 +09:00
guix-publish.conf.in
guix-publish.service.in etc: systemd services: switch to "journal" for output and error logging. 2024-03-11 14:34:25 -07:00
historical-authorizations
news.scm news: Add 'de' translation. 2025-02-23 09:10:01 +01:00
teams.scm etc: teams: Add Cayetano Santos to emacs team. 2025-03-01 09:16:26 -08:00