From 2acce55a00df9344d73101bb57a3961ba86105b0 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Mon, 9 Jan 2023 11:46:57 +0400 Subject: home: environment-variables: Return support for file-likes and gexps. * gnu/home/services.scm (environment-variable-shell-definitions): Add support for file-likes and gexps. * tests/guix-home.sh: Add SHELL environment variable and test its value. Add BUILDHOSTTIME environment variable. --- gnu/home/services.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/home') diff --git a/gnu/home/services.scm b/gnu/home/services.scm index b003c3006b..c442da374c 100644 --- a/gnu/home/services.scm +++ b/gnu/home/services.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2021 Andrew Tropin +;;; Copyright © 2021-2023 Andrew Tropin ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2022-2023 Ludovic Courtès ;;; @@ -212,7 +212,9 @@ ensures variable values are properly quoted." "") ((key . #t) #~(string-append "export " #$key "\n")) - ((key . (? string? value)) + ((key . (or (? string? value) + (? file-like? value) + (? gexp? value))) #~(string-append "export " #$key "=" (shell-double-quote #$value) "\n")) -- cgit v1.2.3 ght' method='get' action='/guix/log/nix'>
path: root/nix
d>
AgeCommit message (Expand)Author
2024-01-05daemon: Change default ‘timeout’ and ‘max-silent-time’ values....Ludovic Co
2021-09-14etc: Add 'source-manifest.scm'....Ludovic Courtès
2023-12-10daemon: Sacrifice builders on OOM....Tobias Geerinckx-Rice
2023-12-11daemon: Implement ‘substitute-urls’ RPC....Ludovic Courtès
2023-12-04daemon: Simplify “empty status” substitute error message....Ludovic Courtès
2023-09-24Revert "build: Add missing guix-gc.timer file to binary tarball."...Tobias Geerinckx-Rice
2023-09-26daemon: Add “git-download” built-in builder....Ludovic Courtès
2023-09-09daemon: Fix build with GCC 13....Sören Tempel
2023-08-31build: Add missing guix-gc.timer file to binary tarball....Maxim Cournoyer
2023-01-09daemon: Improve error message for wrong hash sizes....Ludovic Courtès
2022-12-18daemon: Make "opening file" error messages distinguishable....Ludovic Courtès
2022-10-17Revert "nix: Guard against removing temporary roots of living processes."...Ludovic Courtès
2022-10-07nix: Guard against removing temporary roots of living processes....Ludovic Courtès
2022-09-11daemon: Remove unused function findOutput....Maxime Devos
2022-09-11daemon: Remove unused function exportPaths....Maxime Devos
2022-09-11daemon: Remove unused function openStore....Maxime Devos
2022-06-05daemon: Quote consistently within a string....Tobias Geerinckx-Rice
2022-05-29daemon: Clarify ‘--check’ error when outputs are missing....Tobias Geerinckx-Rice
2022-05-18daemon: runChild() is forbidden to talk during environment set up...yarl-baudig@mailoo.org
2022-04-14daemon: Support systemd-style socket activation....Ludovic Courtès