Skip to content

Commit

Permalink
README: use the new module
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 19, 2024
1 parent f6d4ab2 commit db909b7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ nix develop
# override a package with a different version
ormolu.enable = true;
ormolu.package = pkgs.haskellPackages.ormolu;
ormolu.settings.defaultExtensions = [ "lhs" "hs" ];
# some hooks have more than one package, like clippy:
clippy.enable = true;
Expand All @@ -98,14 +99,6 @@ nix develop
# some hooks provide settings
clippy.settings.allFeatures = true;
};
# Set the pkgs to get the tools for the hooks from.
# tools = pkgs;
# Some hooks offer custom settings that affect how they execute
settings = {
ormolu.defaultExtensions = [ "lhs" "hs" ];
};
};
}
```
Expand Down

0 comments on commit db909b7

Please sign in to comment.