Skip to content

Commit

Permalink
chore(cabal2nix): stick to camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
rsrohitsingh682 committed Dec 21, 2024
1 parent d1cacdd commit 3e3ebb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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`.";
Expand Down Expand Up @@ -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" ];
};
Expand Down

0 comments on commit 3e3ebb2

Please sign in to comment.