summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/ui.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index a4943c2a7f..5b87f1e29b 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -639,6 +639,8 @@ directories:~{ ~a~}~%")
                      (G_ "~a: error: ~a~%")
                      (location->string (error-location c))
                      (gettext (condition-message c) %gettext-domain))
+             (when (fix-hint? c)
+               (display-hint (condition-fix-hint c)))
              (exit 1))
             ((and (message-condition? c) (fix-hint? c))
              (format (current-error-port) "~a: error: ~a~%"