From 3e3ebb2765e48344a3ab700fc25c125181eb8bcb Mon Sep 17 00:00:00 2001 From: Rohit Singh Date: Sat, 21 Dec 2024 21:33:15 +0530 Subject: [PATCH] chore(cabal2nix): stick to camelCase --- modules/hooks.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hooks.nix b/modules/hooks.nix index 865b1cab..40be68e6 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -213,7 +213,7 @@ in type = types.submodule { imports = [ hookModule ]; options.settings = { - output_filename = + outputFilename = mkOption { type = types.str; description = "The name of the output file generated after running `cabal2nix`."; @@ -2050,7 +2050,7 @@ in name = "cabal2nix"; description = "Run `cabal2nix` on all `*.cabal` files to generate corresponding `.nix` files"; package = tools.cabal2nix-dir; - entry = "${hooks.cabal2nix.package}/bin/cabal2nix-dir --outputFileName=${hooks.cabal2nix.settings.output_filename}"; + entry = "${hooks.cabal2nix.package}/bin/cabal2nix-dir --outputFileName=${hooks.cabal2nix.settings.outputFilename}"; files = "\\.cabal$"; after = [ "hpack" ]; };