From 8bf52fd90e113cf64b193defdd3d3847a00be7c2 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sat, 6 Sep 2025 15:20:21 +0200 Subject: add `npins' to `devShell' --- lib/devShell.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib') 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; + }; } -- cgit v1.2.3