Skip to content

Commit

Permalink
beets: fix broken aarch64 build due to missing plugin test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mfrischknecht committed Dec 27, 2023
1 parent f930306 commit 6fcd9c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/tools/audio/beets/builtin-plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
absubmit = {
enable = lib.elem stdenv.hostPlatform.system essentia-extractor.meta.platforms;
wrapperBins = [ essentia-extractor ];
testPaths = [ ];
};
acousticbrainz.propagatedBuildInputs = [ python3Packages.requests ];
albumtypes = { };
Expand Down

0 comments on commit 6fcd9c7

Please sign in to comment.