* guix/scripts/environment.scm (launch-environment/container): Put cwd mapping at front of the file system mappings.
Fixes: #46782 --- guix/scripts/environment.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index 46435ae48e..8a1fc3c0ee 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -767,14 +767,14 @@ (define fhs-mappings (append (override-user-mappings user home - (append user-mappings - ;; Share current working directory, unless asked not to. + (append ;; Share current working directory, unless asked not to. (if map-cwd? (list (file-system-mapping (source cwd) (target cwd) (writable? #t))) - '()))) + '()) + user-mappings)) ;; Mappings for the union closure of all inputs. (map (lambda (dir) (file-system-mapping base-commit: dd724cfad45d76b9dcc5b073876c995715c92a07 -- 2.39.1