[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/6] Error reporting and hints for missing modules
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 0/6] Error reporting and hints for missing modules |
Date: |
Wed, 08 Nov 2017 22:42:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi,
myglc2 <address@hidden> skribis:
> I built and played with this. I see you also provide a search hint when
> you don't find an obvious match, as in ...
>
> sys.scm:3:0: error: module (gnu services sshx) not found
> hint: You may use `guix system search sshx' to search for a service matching
> `sshx'. If you get the line `location: gnu/services/foo.scm:188:2', add
> `foo' to the `use-service-modules'
> form.
>
> This is very nice indeed.
Glad you like it.
>>>> You get:
>>>>
>>>> configuration.scm:9:0: error: module (gnu services openssh) not found
>>>> hint: Did you mean `(use-service-modules ssh)'?
>
> hint: Try adding `(use-service-modules ssh)'
Good idea. I’ve made this change and pushed.
Thanks to the two of you! I think this is really the kind of UI/UX
improvements we should be making, but die-hard Guix hackers like me
don’t necessarily think about it, so it’s great that you came up with
this idea.
Ludo’.
- [PATCH 5/6] services: Add 'lookup-service-types'., (continued)
- [PATCH 5/6] services: Add 'lookup-service-types'., Ludovic Courtès, 2017/11/08
- [PATCH 4/6] services: 'fold-service-types' includes (gnu services)., Ludovic Courtès, 2017/11/08
- [PATCH 2/6] ui: Define and honor '&error-location' and '&fix-hint' conditions., Ludovic Courtès, 2017/11/08
- [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros., Ludovic Courtès, 2017/11/08
- Re: [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros., Chris Marusich, 2017/11/10
- Re: [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros., Ludovic Courtès, 2017/11/11
- Re: [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros., Chris Marusich, 2017/11/11
- Re: [PATCH 0/6] Error reporting and hints for missing modules, julien lepiller, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules,
Ludovic Courtès <=
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/09
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/10
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Julien Lepiller, 2017/11/10
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/11
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/11
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/13
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/30
- Re: The usability of Guix configurations, Hartmut Goebel, 2017/11/07
Re: The usability of Guix configurations, myglc2, 2017/11/06