Skip to content

Commit 07defbd

Browse files
authored
Fix regression in needing hlintCheck/hlsCheck; and checks not finding build inputs (#31)
* add default * use nativeBuildInputs
1 parent 83f9e95 commit 07defbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flake-module.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ in
7474
defaultText = ''Build tools useful for Haskell development are included by default.'';
7575
};
7676
hlsCheck = mkOption {
77+
default = { };
7778
type = types.submodule {
7879
options = {
7980
enable = mkOption {
@@ -95,6 +96,7 @@ in
9596
};
9697
};
9798
hlintCheck = mkOption {
99+
default = { };
98100
type = types.submodule {
99101
options = {
100102
enable = mkOption {
@@ -168,7 +170,7 @@ in
168170
(cfg.modifier p."${cfg.name}")
169171
];
170172
withHoogle = true;
171-
buildInputs = buildTools;
173+
nativeBuildInputs = buildTools;
172174
};
173175
devShellCheck = name: command:
174176
runCommandInSimulatedShell devShell cfg.root "${projectKey}-${name}-check" { } command;

0 commit comments

Comments
 (0)