Open eclairevoyant opened 1 month ago
Is this thing reusing the man-db caches to search for man pages? If so, it probably can't find NixOS caches, man-db as well had to be patched to work correctly.
If I recall correctly it's patched to use mandoc because of a particular flag mancha requires.
Is this thing reusing the man-db caches to search for man pages? If so, it probably can't find NixOS caches, man-db as well had to be patched to work correctly.
No, it's nowhere that sophisticated. mancha just shells out to man, so if man works, then so should mancha.
If I recall correctly it's patched to use mandoc because of a particular flag mancha requires.
It works with man-db on Debian, so I don't understand why this is needed.
I don't understand why this is needed.
It's not directly mancha's fault, it's due to a patch added in nixpkgs which uses the -m
flag to allow the nixpkgs build of mancha
to find its own manpages, so MANCHA_MAN
was also set to point to mandoc
Hmm. But doesn't that mean that man cha
with the system man still
won't work?
At least I remember OpenBSD's man
wouldn't find man pages in their
default installation directory, so I had to adjust MANPREFIX
manually. Perhaps this is a similar case?
Describe the bug
mancha -k
doesn't find resultsSteps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
man -k
works:Notify maintainers
@jtbx
Metadata
I'm using
chawan
fromnixos-unstable
. I even tried bumpingchawan
to the current upstream commit.Add a :+1: reaction to issues you find important.