diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-04-27 15:31:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-04-27 18:45:02 +0200 |
commit | 6ddb59607be810caa1aa40b402b38564d8d9a6bc (patch) | |
tree | 1f1d22f8d3eea5a7fefafe89a88fa2093b88b4c5 /guix/ui.scm | |
parent | 60912a888d4c238850da38efe2cbf39a29dbf877 (diff) |
guix system: Report wrong file system 'device' fields.
Previously, if you wrote (device "my-label") without (title 'label),
you'd get:
guix system: error: stat: No such file or directory: "my-label"
Now you get a proper error and a hint.
Reported by Pierre-Antoine Rouby.
* guix/scripts/system.scm (check-file-system-availability)[literal]: New
variable. Loop over LITERAL.
* gnu/system/file-systems.scm (%pseudo-file-system-types): New variable.
* guix/ui.scm (display-hint): Make public.
Diffstat (limited to 'guix/ui.scm')
-rw-r--r-- | guix/ui.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index cb49a15c4d..536c36e3fe 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -60,6 +60,7 @@ #:use-module (texinfo string-utils) #:re-export (G_ N_ P_) ;backward compatibility #:export (report-error + display-hint leave make-user-module load* |