Skip to content

Commit b34e865

Browse files
committed
vale: fix outdated configuration variable name
f94f8e2 (Remove shadowing of `config` attribute in hooks, 2024-02-16) renamed the setting "config" to "configuration", but forgot to update the reference to it. Update it now.
1 parent 59f1785 commit b34e865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hooks.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm
40394039
entry =
40404040
let
40414041
# TODO: was .vale.ini, threw error in Nix
4042-
configFile = builtins.toFile "vale.ini" "${hooks.vale.settings.config}";
4042+
configFile = builtins.toFile "vale.ini" "${hooks.vale.settings.configuration}";
40434043
cmdArgs =
40444044
mkCmdArgs
40454045
(with hooks.vale.settings; [

0 commit comments

Comments
 (0)