afew: fix build (#578744)

This commit is contained in:
Florian Klink
2026-10-30 17:05:48 +00:00
committed by GitHub

View File

@@ -25,6 +25,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
python3Packages.sphinxHook
];
sphinxRoot = "docs";
sphinxBuilders = [
"html"
"man"
@@ -58,6 +59,12 @@ python3Packages.buildPythonApplication (finalAttrs: {
"man"
];
# Workaround for upstream packaging paths, can be removed once #573479 is resolved
postInstall = ''
sphinx-build -b man docs docs/build/man
install -Dm644 docs/build/man/*.1 -t $man/share/man/man1/
'';
meta = {
homepage = "https://github.com/afewmail/afew";
description = "Initial tagging script for notmuch mail";