diff options
| author | Tomas Volf <~@wolfsden.cz> | 2026-05-14 21:26:16 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-15 10:48:17 +0900 |
| commit | d11615f609d2cd58fb1305205a4fa975dc8e4657 (patch) | |
| tree | 7f282d90f61523ff71c5d342aaa53ed7dd98b5bb /gnu/packages | |
| parent | 2c646830c1de33fba8e761b86a173041150a030c (diff) | |
environment: Allow setting environment variables with -E.
* guix/scripts/environment.scm (show-environment-options-help) [-E]: Document
the change.
* guix/scripts/environment.scm (%options) [-E]: If arg contains =, split it
and store under 'extra-env.
* guix/scripts/environment.scm (launch-environment, launch-environment/fork)
(launch-environment/container): Take and use `environment-variables' keyword argument.
* guix/scripts/environment.scm (guix-environment*): Process 'environment-variables opts.
* guix/profiles.scm (load-profile): Add `environment-variables' keyword argument.
* doc/guix.texi (Invoking guix shell): Document the change.
* tests/guix-environment.sh (GUIX_TEST_ZZZ): Test it.
Change-Id: Ib1db19ef73dda8f561b05731079a96eda076e365
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions
