nixpkgs/pkgs/applications/version-management/guilt/guilt-help-mandir.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
376 B
Diff
Raw Normal View History

2023-08-16 05:14:43 +00:00
nixpkgs' post-installation fixup moves the pages to share/man. Tell guilt-help so that it can find them.
diff --git a/guilt-help b/guilt-help
index 93442a3..b29e059 100755
--- a/guilt-help
+++ b/guilt-help
@@ -34,7 +34,7 @@ case $# in
;;
esac
-MANDIR=`dirname $0`/../man
+MANDIR=`dirname $0`/../share/man
MANDIR=`(cd "$MANDIR"; pwd)`
exec man -M "$MANDIR" "$page"