about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-02-16 00:00:41 +0100
committersternenseemann <sternenseemann@systemli.org>2021-02-25 19:52:33 +0100
commit614a996e50903fce2a94225056c07ee013a3483f (patch)
treeba62618ef8d345b055720a65ec6283bbea804daa /release.nix
parent1afdcc045e8118741903616aa51a1b9726a8f909 (diff)
pkgs/profpatsch/nman: fix panic if mandir.len() < 3
Sometimes share/man contains directories that are not of the form
man<section> which we are checking in build_man_page. However, this
check can't deal with directories that are shorter than 3 characters due
to the use of split_at() which panics if the index is out of range (for
somer reason…).

In nixpkgs it is relatively common to have directories like "de" in
share/man.

This has been resolved.
Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions