about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorManuel Frischknecht <manuel.frischknecht@gmail.com>2023-12-27 03:05:19 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-08 21:31:44 +0000
commite09d31973780e56235504a7b57c2ab6e3d47b15e (patch)
tree8b74e6ab38a6e53fa4029391f298baab44edc712 /pkgs/tools
parent0f45b143d7782461f5f1400ebfb16dafd06fd83d (diff)
beets: fix broken aarch64 build due to missing plugin test
The `absubmit` plugin for beets has no respective plugin test that
is named after the default plugin test schema defined in `common.nix` [1],
so not explicitly declaring that the plugin has *no tests* (i.e. the
respective test list is empty), `mkPlugin` will try to disable the
non-existant test `test/test_absubmit.py`), breaking beet's build.

[1]: https://github.com/NixOS/nixpkgs/blob/c7916a507b6657f82a42741790a86e66f7783480/pkgs/tools/audio/beets/common.nix#L39

(cherry picked from commit 6fcd9c7e933d12f0295653174dd64aeb2ed5b60d)
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/audio/beets/builtin-plugins.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/audio/beets/builtin-plugins.nix b/pkgs/tools/audio/beets/builtin-plugins.nix
index e3bc102104418..ae6b7e17b26dc 100644
--- a/pkgs/tools/audio/beets/builtin-plugins.nix
+++ b/pkgs/tools/audio/beets/builtin-plugins.nix
@@ -14,6 +14,7 @@
   absubmit = {
     enable = lib.elem stdenv.hostPlatform.system essentia-extractor.meta.platforms;
     wrapperBins = [ essentia-extractor ];
+    testPaths = [ ];
   };
   acousticbrainz.propagatedBuildInputs = [ python3Packages.requests ];
   albumtypes = { };