guix-devel
[Top][All Lists]
Advanced

[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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]