beets: install man pages

This commit is contained in:
Kylie McClain 2022-11-21 14:13:36 -05:00
parent 95968fcd7b
commit 2ad8652ef2
No known key found for this signature in database

View File

@ -6,6 +6,7 @@
, gst_all_1
, lib
, python3Packages
, sphinxHook
, runtimeShell
, writeScript
@ -70,6 +71,7 @@ python3Packages.buildPythonApplication rec {
# see: https://github.com/NixOS/nixpkgs/issues/56943#issuecomment-1131643663
nativeBuildInputs = [
gobject-introspection
sphinxHook
];
buildInputs = [
@ -79,6 +81,9 @@ python3Packages.buildPythonApplication rec {
gst-plugins-ugly
]);
outputs = [ "out" "doc" "man" ];
sphinxBuilders = [ "html" "man" ];
postInstall = ''
mkdir -p $out/share/zsh/site-functions
cp extra/_beet $out/share/zsh/site-functions/