summary refs log tree commit diff
path: root/pkgs/tools/audio/beets
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2022-05-09 12:20:20 -0700
committerBernardo Meurer <bernardo@meurer.org>2022-05-09 12:20:20 -0700
commit069410f90b306f3b29f74eabbc2863051f3009ec (patch)
treeb27d9c3a50afcc64e625a3712f8964cdd2ab8579 /pkgs/tools/audio/beets
parent6eab16313f83c13a13fff652622c0e6c5317ea0b (diff)
downloadnixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.tar
nixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.tar.gz
nixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.tar.bz2
nixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.tar.lz
nixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.tar.xz
nixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.tar.zst
nixpkgs-069410f90b306f3b29f74eabbc2863051f3009ec.zip
beets: document pluginOverrides
Diffstat (limited to 'pkgs/tools/audio/beets')
-rw-r--r--pkgs/tools/audio/beets/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix
index 61f14c526bf..58a746ee1aa 100644
--- a/pkgs/tools/audio/beets/default.nix
+++ b/pkgs/tools/audio/beets/default.nix
@@ -2,7 +2,19 @@
 , callPackage
 , fetchFromGitHub
 }:
-
+/*
+** To customize the enabled beets plugins, use the pluginOverrides input to the
+** derivation.
+** Examples:
+**
+** Disabling a builtin plugin:
+** beets.override { pluginOverrides = { beatport.enable = false; }; }
+**
+** Enabling an external plugin:
+** beets.override { pluginOverrides = {
+**   alternatives = { enable = true; propagatedBuildInputs = [ beetsPackages.alternatives ]; };
+** }; }
+*/
 lib.makeExtensible (self: {
   beets = self.beets-stable;