diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/devShell.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/devShell.nix b/lib/devShell.nix index 617210a..185907b 100644 --- a/lib/devShell.nix +++ b/lib/devShell.nix @@ -1,9 +1,15 @@ { config, lib, pkgs, ... }: { options = { - devShell.packages = lib.mkOption { - type = lib.types.listOf lib.types.package; - default = [ pkgs.npins ]; + devShell = { + packages = lib.mkOption { + type = lib.types.listOf lib.types.package; + default = [ pkgs.npins ]; + }; + shellHook = lib.mkOption { + type = lib.types.str; + default = ""; + }; }; outputs.devShell = lib.mkOption { type = lib.types.package; |