[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63234: cached guix shell environment not capturing environment varia
From: |
Maxim Cournoyer |
Subject: |
bug#63234: cached guix shell environment not capturing environment variables set in manifest |
Date: |
Tue, 02 May 2023 11:34:59 -0400 |
Hi Guix,
Consider the following manifest.scm file:
--8<---------------cut here---------------start------------->8---
(setenv "DUMMY" "hello")
(packages->manifest
(map specification->package
(list "hello")))
--8<---------------cut here---------------end--------------->8---
Running:
--8<---------------cut here---------------start------------->8---
$ guix shell --rebuild-cache -m manifest.scm -- sh -c 'echo $DUMMY'
hello
$ guix shell -m manifest.scm -- sh -c 'echo $DUMMY'
--8<---------------cut here---------------end--------------->8---
I think this is a recent behavior change, otherwise I wouldn't have
gotten fond of that trick ;-).
--
Thanks,
Maxim
- bug#63234: cached guix shell environment not capturing environment variables set in manifest,
Maxim Cournoyer <=