[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43408: [PATCH] environment: '--link-profile' uses ~/.guix-profile fo
From: |
Ludovic Courtès |
Subject: |
bug#43408: [PATCH] environment: '--link-profile' uses ~/.guix-profile for environment variables. |
Date: |
Mon, 21 Sep 2020 23:38:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> skribis:
> Before this patch, we had:
>
> $ guix environment -CP --ad-hoc coreutils
> [env]$ echo $PATH
> /gnu/store/…-profile/bin
> [env]$ echo $GUIX_ENVIRONMENT
> /gnu/store/…-profile
>
> After this patch:
>
> $ guix environment -CP --ad-hoc coreutils
> [env]$ echo $PATH
> /home/ludo/.guix-profile/bin
> [env]$ echo $GUIX_ENVIRONMENT
> /home/ludo/.guix-profile
>
> * guix/scripts/environment.scm (launch-environment/container): When
> LINK-PROFILE? is true, pass ~/.guix-profile as the second argument to
> 'launch-environment'.
> * tests/guix-environment-container.sh: Adjust test accordingly.
> * doc/guix.texi (Invoking guix environment): Update accordingly.
Pushed as 9b65281de51bcb56714509524f5ae0731c9b96d0.
Ludo’.