From d39ecdfb82a78a70388e36035675808c27fb97a5 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 24 Oct 2022 16:45:44 -0400 Subject: [PATCH 1/2] add default --- flake-module.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake-module.nix b/flake-module.nix index b0add601..b51ec584 100644 --- a/flake-module.nix +++ b/flake-module.nix @@ -74,6 +74,7 @@ in defaultText = ''Build tools useful for Haskell development are included by default.''; }; hlsCheck = mkOption { + default = { }; type = types.submodule { options = { enable = mkOption { @@ -95,6 +96,7 @@ in }; }; hlintCheck = mkOption { + default = { }; type = types.submodule { options = { enable = mkOption { From 7266c4586297a5ae01d164fc9f16eec95a0d2fd0 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 24 Oct 2022 16:55:03 -0400 Subject: [PATCH 2/2] use nativeBuildInputs --- flake-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake-module.nix b/flake-module.nix index b51ec584..1da9852e 100644 --- a/flake-module.nix +++ b/flake-module.nix @@ -170,7 +170,7 @@ in (cfg.modifier p."${cfg.name}") ]; withHoogle = true; - buildInputs = buildTools; + nativeBuildInputs = buildTools; }; devShellCheck = name: command: runCommandInSimulatedShell devShell cfg.root "${projectKey}-${name}-check" { } command;