diff options
Diffstat (limited to 'lib/devShell.nix')
-rw-r--r-- | lib/devShell.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/devShell.nix b/lib/devShell.nix new file mode 100644 index 0000000..110b857 --- /dev/null +++ b/lib/devShell.nix @@ -0,0 +1,13 @@ +{ config, lib, pkgs, ... }: +{ + options = { + devShell = lib.mkOption { + type = lib.types.attrsOf lib.types.unspecified; + default = pkgs.mkShell {}; + }; + outputs.devShell = lib.mkOption { + type = lib.types.package; + }; + }; + config.outputs.devShell = config.devShell; +} |