Skip to content
Snippets Groups Projects
  • Carl Dong's avatar
    b6dc0839
    scripts: environment: Add --no-cwd. · b6dc0839
    Carl Dong authored
    
    * 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: default avatarMike Gerwitz <mtg@gnu.org>
    b6dc0839
    History
    scripts: environment: Add --no-cwd.
    Carl Dong authored
    
    * 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: default avatarMike Gerwitz <mtg@gnu.org>
Code owners