We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5563f8 commit 8fdf9b7Copy full SHA for 8fdf9b7
3 files changed
modules/git-hooks.nix extra/git/hooks.nixmodules/git-hooks.nix renamed to extra/git/hooks.nix
modules/modules.nix
@@ -16,7 +16,6 @@ let
16
branch = "master";
17
}];
18
}
19
- ./git-hooks.nix
20
];
21
22
pkgsModule = { config, ... }: {
tests/core/git-hooks.nix tests/extra/git.hooks.nixtests/core/git-hooks.nix renamed to tests/extra/git.hooks.nix
@@ -4,6 +4,7 @@
4
git-hooks-1 =
5
let
6
shell1 = devshell.mkShell {
7
+ imports = [ ../../extra/git/hooks.nix ];
8
devshell.name = "git-hooks-1a";
9
git.hooks.enable = true;
10
git.hooks.pre-commit.text = ''
@@ -13,6 +14,7 @@
13
14
};
15
shell2 = devshell.mkShell {
devshell.name = "git-hooks-1b";
0 commit comments