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: Fri, 10 Nov 2017 00:04:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

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.

Thrilled by this idea, I pushed an unbound-variable handler that can
provide hints, such as:

  configuration.scm:88:19: zip: unbound variable
  hint: Try adding `(use-modules (gnu packages compression))'.

Feedback welcome!

  
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=a2985bb101faac9f085176e0329488b91b81dfb5

Ludo’.



reply via email to

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