bug#46782: guix environment --expose options cannot be layered onto $PWD

2023-03-06 Thread Maxim Cournoyer
Hello Josselin, Josselin Poiret writes: > Hello everyone, > > A quick strace shows that it's actually an ordering issue: /home/user is > mounted in the container after /home/user/tmp. The fix is pretty > simple, moving the cwd first, before the explicit --expose arguments. Thanks for the troub

bug#46782: guix environment --expose options cannot be layered onto $PWD

2023-02-13 Thread Josselin Poiret via Bug reports for GNU Guix
Hello everyone, A quick strace shows that it's actually an ordering issue: /home/user is mounted in the container after /home/user/tmp. The fix is pretty simple, moving the cwd first, before the explicit --expose arguments. I'm noticing that the --expose option creates an empty tmp folder in the

bug#46782: guix environment --expose options cannot be layered onto $PWD

2023-02-06 Thread bokr
Hi, On +2023-02-06 16:54:20 -0500, Maxim Cournoyer wrote: > Hi, > > Simon Tournier writes: > > > Hi Maxim, > > > > A naive question since it works when using the --no-cwd option. > > > > On ven., 27 janv. 2023 at 11:19, Maxim Cournoyer > > wrote: > > > >> --8<---cut here--

bug#46782: guix environment --expose options cannot be layered onto $PWD

2023-02-06 Thread Maxim Cournoyer
Hi, Simon Tournier writes: > Hi Maxim, > > A naive question since it works when using the --no-cwd option. > > On ven., 27 janv. 2023 at 11:19, Maxim Cournoyer > wrote: > >> --8<---cut here---start->8--- >> guix environment -C --expose=/tmp=$PWD/tmp --ad-hoc

bug#46782: guix environment --expose options cannot be layered onto $PWD

2023-01-27 Thread Simon Tournier
Hi Maxim, A naive question since it works when using the --no-cwd option. On ven., 27 janv. 2023 at 11:19, Maxim Cournoyer wrote: > --8<---cut here---start->8--- > guix environment -C --expose=/tmp=$PWD/tmp --ad-hoc bash coreutils \ > -- bash -c 'stat $PWD/

bug#46782: guix environment --expose options cannot be layered onto $PWD

2023-01-27 Thread Maxim Cournoyer
Hi, bbb ee writes: > There is a similar issue that is solved: https://issues.guix.gnu.org/59425 I can still reproduce the original problem with: --8<---cut here---start->8--- guix environment -C --expose=/tmp=$PWD/tmp --ad-hoc bash coreutils \ -- bash -c 's

bug#46782: guix environment --expose options cannot be layered onto $PWD

2021-02-25 Thread Maxim Cournoyer
Hello Guix! I noticed, while trying to expose the SSL environment variable inside a container and doing things such as: --8<---cut here---start->8--- guix environment --container --network -E SSL --expose=$SSL_CERT_FILE \ --expose=$SSL_CERT_DIR --ad-hoc [.