Skip to content

Commit 3e3ebb2

Browse files
committed
chore(cabal2nix): stick to camelCase
1 parent d1cacdd commit 3e3ebb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hooks.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ in
213213
type = types.submodule {
214214
imports = [ hookModule ];
215215
options.settings = {
216-
output_filename =
216+
outputFilename =
217217
mkOption {
218218
type = types.str;
219219
description = "The name of the output file generated after running `cabal2nix`.";
@@ -2050,7 +2050,7 @@ in
20502050
name = "cabal2nix";
20512051
description = "Run `cabal2nix` on all `*.cabal` files to generate corresponding `.nix` files";
20522052
package = tools.cabal2nix-dir;
2053-
entry = "${hooks.cabal2nix.package}/bin/cabal2nix-dir --outputFileName=${hooks.cabal2nix.settings.output_filename}";
2053+
entry = "${hooks.cabal2nix.package}/bin/cabal2nix-dir --outputFileName=${hooks.cabal2nix.settings.outputFilename}";
20542054
files = "\\.cabal$";
20552055
after = [ "hpack" ];
20562056
};

0 commit comments

Comments
 (0)