summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-11-22 00:34:22 +0100
committerGitHub <noreply@github.com>2022-11-22 00:34:22 +0100
commitc1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc (patch)
tree4647e23e4d8b9b01ce766ebc8b23403b4f84f982
parent95968fcd7b341d65c9e7202850d52e563f6591de (diff)
parent2ad8652ef2b6b6e2b9f4ada245136bdc502fdbb1 (diff)
downloadnixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.tar
nixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.tar.gz
nixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.tar.bz2
nixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.tar.lz
nixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.tar.xz
nixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.tar.zst
nixpkgs-c1e0996bb08c9c2b5c53b497c7eceb71c82c1dbc.zip
Merge pull request #202233 from somasis/beets
-rw-r--r--pkgs/tools/audio/beets/common.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix
index 968544f2790..a79c16fe695 100644
--- a/pkgs/tools/audio/beets/common.nix
+++ b/pkgs/tools/audio/beets/common.nix
@@ -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/