From ce08d9cb13a6318493bf004d4f5d9396d28fd98b Mon Sep 17 00:00:00 2001 From: Norbert Wnuk Date: Wed, 20 Aug 2025 16:05:43 +0200 Subject: [PATCH] Fix exclude param propagation for typos hook --- modules/hooks.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hooks.nix b/modules/hooks.nix index 80f2fb22..ec863f73 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -4024,7 +4024,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm [ (configuration != "") "--config ${configFile}" ] [ (configPath != "" && configuration == "") "--config ${configPath}" ] [ diff "--diff" ] - [ (exclude != "") "--exclude ${exclude} --force-exclude" ] + [ (exclude != "") "--exclude '${exclude}' --force-exclude" ] [ (format != "long") "--format ${format}" ] [ hidden "--hidden" ] [ (locale != "en") "--locale ${locale}" ]