diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-24 23:28:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-25 19:11:36 +0200 |
commit | f9a8dd053c4e0fd1fc4b64291bb90de36520b3bc (patch) | |
tree | 8543692db00f8e9380274056b047e9662267eb20 /guix/utils.scm | |
parent | 6a79eed920fd4914b162461553a8d7e8f5eee324 (diff) | |
download | guix-patches-f9a8dd053c4e0fd1fc4b64291bb90de36520b3bc.tar guix-patches-f9a8dd053c4e0fd1fc4b64291bb90de36520b3bc.tar.gz |
utils: Move '&fix-hint' to (guix diagnostics).
* guix/utils.scm (&fix-hint): Move to...
* guix/diagnostics.scm (&fix-hint): ... here.
* gnu.scm: Adjust imports accordingly.
* gnu/system/mapped-devices.scm: Likewise.
* guix/channels.scm: Likewise.
* guix/profiles.scm: Likewise.
* guix/scripts/system/reconfigure.scm: Likewise.
* guix/ssh.scm: Likewise.
Diffstat (limited to 'guix/utils.scm')
-rw-r--r-- | guix/utils.scm | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/guix/utils.scm b/guix/utils.scm index 8198204ade..436c5cd093 100644 --- a/guix/utils.scm +++ b/guix/utils.scm @@ -29,7 +29,6 @@ #:use-module (srfi srfi-9) #:use-module (srfi srfi-11) #:use-module (srfi srfi-26) - #:use-module (srfi srfi-35) #:use-module (srfi srfi-39) #:use-module (ice-9 ftw) #:use-module (rnrs io ports) ;need 'port-position' etc. @@ -55,7 +54,11 @@ &error-location error-location? - error-location) + error-location + + &fix-hint + fix-hint? + condition-fix-hint) #:export (strip-keyword-arguments default-keyword-arguments substitute-keyword-arguments @@ -63,10 +66,6 @@ current-source-directory - &fix-hint - fix-hint? - condition-fix-hint - nix-system->gnu-triplet gnu-triplet->nix-system %current-system @@ -833,10 +832,6 @@ be determined." ;; raising an error would upset Geiser users #f)))))) -(define-condition-type &fix-hint &condition - fix-hint? - (hint condition-fix-hint)) ;string - ;;; Local Variables: ;;; eval: (put 'call-with-progress-reporter 'scheme-indent-function 1) ;;; End: |