about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 13:50:50 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-11 14:03:52 +0200
commitf11e6e056cbc121c3720100a5bfde93590eeb7f8 (patch)
treecd56c81be76d0c55d2d9930cd194869a150f6086
parentfix(home/beets): Also use the correct attr name for `models` (diff)
downloadnixos-config-f11e6e056cbc121c3720100a5bfde93590eeb7f8.tar.gz
nixos-config-f11e6e056cbc121c3720100a5bfde93590eeb7f8.zip
fix(home/beets/plgs/badfiles): Specify mainProgram path for `flac`
-rw-r--r--modules/home/conf/beets/plugins/badfiles/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/home/conf/beets/plugins/badfiles/default.nix b/modules/home/conf/beets/plugins/badfiles/default.nix
index bc61097b..33884785 100644
--- a/modules/home/conf/beets/plugins/badfiles/default.nix
+++ b/modules/home/conf/beets/plugins/badfiles/default.nix
@@ -6,7 +6,7 @@
   programs.beets.settings.badfiles = {
     check_on_import = true;
     commands = {
-      flac = "${lib.getExe pkgs.flac} --test --warnings-as-errors --silent";
+      flac = "${lib.getExe' pkgs.flac "flac"} --test --warnings-as-errors --silent";
       mp3 = "${lib.getExe pkgs.mp3val}";
     };
   };