[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49034] [PATCH] profiles: Add 'load-profile'.
From: |
zimoun |
Subject: |
[bug#49034] [PATCH] profiles: Add 'load-profile'. |
Date: |
Wed, 16 Jun 2021 07:21:33 +0200 |
Hi,
On Tue, 15 Jun 2021 at 10:13, Ludovic Courtès <ludo@gnu.org> wrote:
> * 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(-)
Neat. LGTM.
Cheers,
simon