From 8fd8da0cba402466fcdfbc23cd87eb730765a99f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 29 Mar 2025 16:35:56 +0100 Subject: fix(modules/legacy/conf/beets): Disable the xtractor plugin This plugin never worked (because of some issue with gaia), but now it also stopped to build. --- modules/home.legacy/conf/beets/default.nix | 19 +++++++++++-------- modules/home.legacy/conf/beets/plugins.nix | 2 +- modules/home.legacy/conf/beets/plugins/default.nix | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) (limited to 'modules/home.legacy') diff --git a/modules/home.legacy/conf/beets/default.nix b/modules/home.legacy/conf/beets/default.nix index 8d6277b7..e0421a9d 100644 --- a/modules/home.legacy/conf/beets/default.nix +++ b/modules/home.legacy/conf/beets/default.nix @@ -5,6 +5,16 @@ ... }: let plugins = import ./plugins.nix {}; + + # TODO: Enable xtractor again <2025-03-29> + # package = pkgs.beets.override { + # pluginOverrides = { + # xtractor = { + # enable = true; + # propagatedBuildInputs = [pkgs.beetsExtraPlugins.xtractor]; + # }; + # }; + package = pkgs.beets; in { imports = [ ./plugins @@ -12,14 +22,7 @@ in { programs.beets = { enable = true; - package = pkgs.beets.override { - pluginOverrides = { - xtractor = { - enable = true; - propagatedBuildInputs = [pkgs.beetsExtraPlugins.xtractor]; - }; - }; - }; + inherit package; settings = { library = "${config.xdg.dataHome}/beets/library.db"; diff --git a/modules/home.legacy/conf/beets/plugins.nix b/modules/home.legacy/conf/beets/plugins.nix index bea2fefe..9500364b 100644 --- a/modules/home.legacy/conf/beets/plugins.nix +++ b/modules/home.legacy/conf/beets/plugins.nix @@ -12,7 +12,7 @@ "mbsubmit" # Extract things from the music file - "xtractor" + # "xtractor" # Calculate replay gain "replaygain" diff --git a/modules/home.legacy/conf/beets/plugins/default.nix b/modules/home.legacy/conf/beets/plugins/default.nix index 3bea5ea8..a0b44e3c 100644 --- a/modules/home.legacy/conf/beets/plugins/default.nix +++ b/modules/home.legacy/conf/beets/plugins/default.nix @@ -11,6 +11,6 @@ ./play ./replaygain ./smartplaylist - ./xtractor + # ./xtractor ]; } -- cgit 1.4.1