From 7bdddc83b2292e1e8b0931f1fe8b2e82cd61a53c Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Sun, 19 Nov 2023 21:07:04 +0000 Subject: [PATCH] beets: fix build with Sphinx 6 Sphinx 6.0.0 changed extlinks to always require placeholders in link captions. This was fixed in beets in beetbox/beets@2106f47 but no releases contain this fix. Fixes #268516. --- pkgs/tools/audio/beets/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix index c78ccced9a80..ba468895cc41 100644 --- a/pkgs/tools/audio/beets/default.nix +++ b/pkgs/tools/audio/beets/default.nix @@ -46,6 +46,12 @@ lib.makeExtensible (self: { # Pillow 10 compatibility fix, a backport of # https://github.com/beetbox/beets/pull/4868, which doesn't apply now ./patches/fix-pillow10-compat.patch + + # Sphinx 6 compatibility fix. + (fetchpatch { + url = "https://github.com/beetbox/beets/commit/2106f471affd1dab35b4b26187b9c74d034528c5.patch"; + hash = "sha256-V/886dYJW/O55VqU8sd+x/URIFcKhP6j5sUhTGMoxL8="; + }) ]; disabledTests = [ # This issue is present on this version alone, and can be removed on the