summaryrefslogtreecommitdiffstats
path: root/lib/devShell.nix
blob: 617210ac4ca1bc4e2b41d896daafc09d9bf744f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, pkgs, ... }:
{
  options = {
    devShell.packages = lib.mkOption {
      type = lib.types.listOf lib.types.package;
      default = [ pkgs.npins ];
    };
    outputs.devShell = lib.mkOption {
      type = lib.types.package;
    };
  };
  config = {
    devShell.packages = with pkgs; [ npins ];
    outputs.devShell = pkgs.mkShell config.devShell;
  };
}