From c29abd19e24822d9a9f4d9ec20879d0af2bdb1de Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 8 Apr 2025 18:35:10 +0200 Subject: [PATCH] beetsPackages.extrafiles: move deprecation behind allowAliases --- pkgs/tools/audio/beets/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix index 70d3b644d692..b0d7e1a40f2b 100644 --- a/pkgs/tools/audio/beets/default.nix +++ b/pkgs/tools/audio/beets/default.nix @@ -1,6 +1,7 @@ { lib, callPackage, + config, fetchFromGitHub, python3Packages, fetchpatch, @@ -70,6 +71,6 @@ lib.makeExtensible (self: { alternatives = callPackage ./plugins/alternatives.nix { beets = self.beets-minimal; }; audible = callPackage ./plugins/audible.nix { beets = self.beets-minimal; }; copyartifacts = callPackage ./plugins/copyartifacts.nix { beets = self.beets-minimal; }; - +} // lib.optionalAttrs config.allowAliases { extrafiles = throw "extrafiles is unmaintained since 2020 and broken since beets 2.0.0"; })