From 2f3509ae091f3c83c2ff80c6fb59b3acb51db717 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Thu, 12 Feb 2026 19:47:00 +0100 Subject: [PATCH] fix --- modules/media/tool.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/media/tool.nix b/modules/media/tool.nix index fc1e588..053fd0a 100644 --- a/modules/media/tool.nix +++ b/modules/media/tool.nix @@ -51,7 +51,7 @@ } function to-utf8() { - local enc=$(file --brief --mime-encoding "$1") + local enc=$(${pkgs.file}/bin/file --brief --mime-encoding "$1") if [[ "$enc" == "utf-8" || "$enc" == "us-ascii" ]]; then return 0 fi