diff options
author | Carl Dong <accounts@carldong.me> | 2019-06-29 17:15:11 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2019-07-08 10:33:20 -0400 |
commit | b6dc08393e6a8313b88ce422fc3c1e4e9c0efc6f (patch) | |
tree | a3ca7a35febe75c42848c9f2256c1d62fa2c15a2 /README | |
parent | a655d504aa1dc04ab9c8916f2022f07ca89ceb3b (diff) | |
download | guix-b6dc08393e6a8313b88ce422fc3c1e4e9c0efc6f.tar.gz guix-b6dc08393e6a8313b88ce422fc3c1e4e9c0efc6f.zip |
scripts: environment: Add --no-cwd.
* doc/guix.texi (Invoking guix environment): Add --no-cwd.
* guix/scripts/environment.scm (show-help, %options): Add --no-cwd.
(launch-environment/container): Add 'map-cwd?' param; only add mapping
for cwd if #t. Only change to cwd within container if #t, otherwise
home.
(guix-environment): Error if --no-cwd without --container. Provide
'(not no-cwd?)' to launch-environment/container as 'map-cwd?'.
* tests/guix-environment.sh: Add test for no-cwd.
Co-authored-by: Mike Gerwitz <mtg@gnu.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions