[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49034: [PATCH] profiles: Add 'load-profile'.
From: |
Ludovic Courtès |
Subject: |
bug#49034: [PATCH] profiles: Add 'load-profile'. |
Date: |
Fri, 18 Jun 2021 14:27:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Ludovic Courtès <ludo@gnu.org> skribis:
> * guix/profiles.scm (%precious-variables): New variable.
> (purify-environment, load-profile): New procedures.
> * guix/scripts/environment.scm (%precious-variables)
> (purify-environment, create-environment): Remove.
> (launch-environment): Call 'load-profile' instead of 'create-environment'.
> * tests/profiles.scm ("load-profile"): New test.
> ---
> guix/profiles.scm | 41 +++++++++++++++++++++++++++++
> guix/scripts/environment.scm | 51 ++++++------------------------------
> tests/profiles.scm | 27 +++++++++++++++++++
> 3 files changed, 76 insertions(+), 43 deletions(-)
Pushed as ee61777a326c3395518dee5e50ffc9c35ae53f3d, thanks everyone!
Ludo’.