(address . guix-patches@gnu.org)(name . David Thompson)(address . davet@gnu.org)
On help-guix I initiated a conversation on using IceCat within a container
(<87vag2wopo.fsf@gnu.org>). This covers some of the lower-level concepts I
was thinking off. Specifically:
0. The ability to hide the user (and home directory) from procsses within the
container. This includes rewritting mapped paths;
1. Suppressing the behavior of automatically sharing cwd; and
2. Linking $GUIX_ENVIRONMENT to ~/.guix-profile.
The first two are for privacy (#1 is for conveinence, since creating an empty
dir just to cd into it is a bit klugy as a workaround). #2 was motivated by
my needs with font-config, but I can imaging that it'd be useful elsewhere
as well. It only really makes sense if you're not sharing your home
directory.
Mike Gerwitz (3):
scripts: environment: Add --link-profile.
scripts: environment: Add --user.
scripts: environment: Add --no-cwd.
doc/guix.texi | 59 +++++++++++++-
guix/scripts/environment.scm | 178 +++++++++++++++++++++++++++++++++++--------
tests/guix-environment.sh | 30 ++++++++
3 files changed, 233 insertions(+), 34 deletions(-)
--
2.15.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCgAGBQJaaqB+AAoJEIyRe39dxRuiafEP/jmJii6A75ckdrFAqTxPZYtO
uxLCDYE4JF38e1n1pnNg8bS8djW0NGkYbXD3p9zqj870zs9zCv+gwsI6hQO+FTXw
fhbrSU7cjOXWubNF/u15NM6NMeQ8bMz/MZmCukVO15Wdux+A67LLIGq6w10R/Xkt
M01B4KsqTVg1OV8gY/4TJsa7DTVRUpjIJHj5YkEeKXnhiDB3CX/msIz3pCQDwAbh
K396M1ZttJQKGhDJbwU9p5MQxdrZY19b2YZHv3x1NdaOECwf7ZvhXQn98b85HJmr
3akpAIlbnt3HL6ZWEZzRsp9ybMSkZupjmrQKTKQCBDUTZDx9ZdbmgFfdhSVXFgxa
vYc6XeIIZ6PRFxzdhBQ7adBjkg9fw/N+cnIZi6ykZyfKkZ/wcoYeb8sKSIMeJv6K
lqQBGFQFejNXuDruZNOZGSxazRQlsiuAg8ziu4hjNRG2Vm62tIyY6G5cSyfzfj6Z
G0e2gei10xLrXKJU6nMEM7BR8G3MwWr2gK5+AG5NxNgiePglxJlZBPpoEUS44Crq
fBWOELDjS7RAVrQhP6gdg8TbjoWUFWj88m1gs+cH0IEwM9bTMXA6meOvNbCBK64h
NuDkZGdCFwvouNkzEHGI55W6jZO7rHUcLzdULnlRQ8CqVC5t9pF+T2xRRrb9ch+z
9QQepdbHsOhwgvqSAe88
=o/jn
-----END PGP SIGNATURE-----