environment: Fix typo in error messages.

* guix/scripts/environment.scm (guix-environment*): Fix typo in error
messages.

Change-Id: I0b8669cb43267d0456a70f3b157514a6bcc725e8
This commit is contained in:
Ludovic Courtès 2023-10-28 01:23:41 +02:00
parent 661672a7f8
commit 6eb147dc31
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1123,11 +1123,11 @@ (define-syntax-rule (with-store/maybe store exp ...)
(when no-cwd?
(leave (G_ "--no-cwd cannot be used without '--container'~%")))
(when emulate-fhs?
(leave (G_ "'--emulate-fhs' cannot be used without '--container~%'")))
(leave (G_ "'--emulate-fhs' cannot be used without '--container'~%")))
(when nesting?
(leave (G_ "'--nesting' cannot be used without '--container~%'")))
(leave (G_ "'--nesting' cannot be used without '--container'~%")))
(when (pair? symlinks)
(leave (G_ "'--symlink' cannot be used without '--container~%'"))))
(leave (G_ "'--symlink' cannot be used without '--container'~%"))))
(with-store/maybe store
(with-status-verbosity (assoc-ref opts 'verbosity)