guix/doc
Mike Gerwitz 07ec349229
environment: Add --link-profile.
This change is motivated by attempts to run programs (like GNU IceCat) within
containers.  The 'fontconfig' program, for example, is configured explicitly
to check ~/.guix-profile for additional fonts.

There were no existing container tests in 'tests/guix-environment.sh', but I
added one anyway for this change.

* doc/guix.texi (Invoking guix environment): Add '--link-profile'.
* guix/scripts/environment.scm (show-help): Add '--link-profile'.
(%options): Add 'link-profile' as '#\P', assigned to 'link-profile?'.
(link-environment): New procedure.
(launch-environment/container): Use it when 'link-profile?'.
[link-profile?]: New parameter.
(guix-environment): Leave when '--link-prof' but not '--container'.  Add
'#:link-profile?' argument to 'launch-environment/container' application.
* tests/guix-environment-container.sh: New '--link-profile' test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-02 11:55:42 +01:00
..
images
contributing.texi doc: Suggest running guix-daemon with 'sudo -E'. 2018-01-17 15:48:22 -08:00
environment-gdb.scm
fdl-1.3.texi
guix.texi environment: Add --link-profile. 2018-03-02 11:55:42 +01:00
htmlxref.cnf
local.mk build: Declare “doc/guix.texi“ dependencies. 2018-01-20 00:45:29 +01:00
package-hello.scm