summaryrefslogtreecommitdiffstats
path: root/lib/devShell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/devShell.nix')
-rw-r--r--lib/devShell.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/devShell.nix b/lib/devShell.nix
index 110b857..617210a 100644
--- a/lib/devShell.nix
+++ b/lib/devShell.nix
@@ -1,13 +1,16 @@
{ config, lib, pkgs, ... }:
{
options = {
- devShell = lib.mkOption {
- type = lib.types.attrsOf lib.types.unspecified;
- default = pkgs.mkShell {};
+ devShell.packages = lib.mkOption {
+ type = lib.types.listOf lib.types.package;
+ default = [ pkgs.npins ];
};
outputs.devShell = lib.mkOption {
type = lib.types.package;
};
};
- config.outputs.devShell = config.devShell;
+ config = {
+ devShell.packages = with pkgs; [ npins ];
+ outputs.devShell = pkgs.mkShell config.devShell;
+ };
}