Re: guix build: error: without-test=foo: unrecognized option

2021-01-15 Thread zimoun
Hi Ludo,

On Thu, 14 Jan 2021 at 23:30, Ludovic Courtès  wrote:

> We should display suggestions based on Levenshtein distance.

Done in patch#45893.  Feedback welcome because it is a quick draft for
my Friday's procrastination. ;-)




Cheers,
simon



Re: guix build: error: without-test=foo: unrecognized option

2021-01-15 Thread zimoun
Hi Chris,

On Thu, 14 Jan 2021 at 23:18, Christopher Baines  wrote:

> > What do I miss?
>
> An s.

Ahah!  The bug is always between the keyboard and the chair. ;-)

Cheers,
simon



Re: guix build: error: without-test=foo: unrecognized option

2021-01-14 Thread Ludovic Courtès
Hi,

zimoun  skribis:

> Using Guix 957f0c4 or 0d3f271, I get:
>
> $ guix build --help-transform | grep test
>  build PACKAGE from the latest commit of BRANCH
>   --without-tests=PACKAGE

[...]

> $ guix build --without-test=foo foo
> guix build: error: without-test=foo: unrecognized option
^
> What do I miss?

An ‘s’.  :-)

We should display suggestions based on Levenshtein distance.

Ludo’.



Re: guix build: error: without-test=foo: unrecognized option

2021-01-14 Thread Christopher Baines

zimoun  writes:

> Hi,
>
> Using Guix 957f0c4 or 0d3f271, I get:
>
> --8<---cut here---start->8---
> $ guix build --help-transform | grep test
>  build PACKAGE from the latest commit of BRANCH
>   --without-tests=PACKAGE
>  build PACKAGE without running its tests
> --8<---cut here---end--->8---
>
> and then this error:
>
> --8<---cut here---start----->8---
> $ guix build --without-test=foo foo
> guix build: error: without-test=foo: unrecognized option
> --8<---cut here---end--->8---
>
> What do I miss?

An s.

→ guix build --without-test=foo foo
guix build: error: without-test=foo: unrecognized option

→ guix build --without-tests=foo foo
guix build: error: foo: unknown package


signature.asc
Description: PGP signature


guix build: error: without-test=foo: unrecognized option

2021-01-14 Thread zimoun
Hi,

Using Guix 957f0c4 or 0d3f271, I get:

--8<---cut here---start->8---
$ guix build --help-transform | grep test
 build PACKAGE from the latest commit of BRANCH
  --without-tests=PACKAGE
 build PACKAGE without running its tests
--8<---cut here---end--->8---

and then this error:

--8<---cut here---start->8---
$ guix build --without-test=foo foo
guix build: error: without-test=foo: unrecognized option
--8<---cut here---end--->8---

What do I miss?


All the best,
simon