Skip to content

Commit

Permalink
Set up project-module.nix as a proper entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed Oct 1, 2019
1 parent b9957b5 commit a1f5c16
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions modules/all-modules.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
imports =
[
./pre-commit.nix
./hooks.nix
];
}
5 changes: 3 additions & 2 deletions nix/project-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
{
imports =
[
../modules/pre-commit.nix
../modules/hooks.nix
../modules/all-modules.nix
];

# TODO: move project.nix/modules/pre-commit.nix here
}
2 changes: 1 addition & 1 deletion nix/run.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let
lib.evalModules {
modules =
[
./project-module.nix
../modules/all-module.nix
{
options =
{
Expand Down

0 comments on commit a1f5c16

Please sign in to comment.