From f11e6e056cbc121c3720100a5bfde93590eeb7f8 Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Sun, 11 Aug 2024 13:50:50 +0200
Subject: fix(home/beets/plgs/badfiles): Specify mainProgram path for `flac`

---
 modules/home/conf/beets/plugins/badfiles/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'modules/home/conf/beets')

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}";
     };
   };
-- 
cgit 1.4.1