ui: Add "error-reporting wrapper" for 'mkdir'.
* guix/ui.scm <top level>: Change 'mkdir' to use an error-reporting wrapper.
This commit is contained in:
parent
968b882f55
commit
852908d24d
@ -591,6 +591,9 @@ FILE."
|
||||
(set! execlp
|
||||
(error-reporting-wrapper execlp (filename . args) filename))
|
||||
|
||||
(set! mkdir
|
||||
(error-reporting-wrapper mkdir (directory . args) directory))
|
||||
|
||||
(define (make-regexp* regexp . flags)
|
||||
"Like 'make-regexp' but error out if REGEXP is invalid, reporting the error
|
||||
nicely."
|
||||
|
Loading…
Reference in New Issue
Block a user