Subject: bug#23136: less, showing errors

From: [email-masked] (Ludovic Courtès)
Date: Mon, 28 Mar 2016 18:49:41 +0200

Jean Louis <[email-masked]> skribis:

> package less:
>
> $ less --help
> head: cannot open ‘@/less/help/file/@’ for reading: No such file or
> directory
> Error: no lexer for alias '@/less/help/file/@' found

I tried in a pristine environment like this:

  guix environment --container --ad-hoc less -- /bin/sh -c 'TERM=xterm less --help'

This works well for me.  Could you check on your system?

If this works, it probably means that something from the host system is
interfering.

Does ‘which less’ point to Guix’s less?

Thanks,
Ludo’.