Hi Maxim, A naive question since it works when using the --no-cwd option.
On ven., 27 janv. 2023 at 11:19, Maxim Cournoyer <maxim.courno...@gmail.com> wrote: > --8<---------------cut here---------------start------------->8--- > guix environment -C --expose=/tmp=$PWD/tmp --ad-hoc bash coreutils \ > -- bash -c 'stat $PWD/tmp' > --8<---------------cut here---------------end--------------->8--- Is $PWD referring to the same thing? Because one is outside and the other is inside. Cheers, simon