[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] scripts: add guix lint
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 1/2] scripts: add guix lint |
Date: |
Tue, 22 Jul 2014 17:26:05 +0200 |
User-agent: |
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) |
Eric Bavier <address@hidden> skribis:
> Would it make sense to have 'guix lint' operate at the file/module level
> instead of at the package level?
You really mean at the syntactic level, no?
> That would be consistent with other lint-type tools, as far as I know.
> It would also, I think, help with things like syntax errors that
> currently result in 'guix build' reporting something like "guix build:
> error: foo: unknown package".
Normally you get more details about that when typing ‘make’ (or C-c C-k
in Geiser.)
Detecting that would amount to doing the job of the compiler and module
system, basically.
Ludo’.