summaryrefslogtreecommitdiffstats
path: root/lib/packages.nix
blob: f07b249ece8e5c255cf6e229b834ee93fa7c04ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ... }:
{
  options = {
    packages = lib.mkOption {
      type = lib.types.attrsOf lib.types.package;
      default = pkgs.mkShell {};
    };
    outputs.packages = lib.mkOption {
      type = lib.types.package;
    };
  };
  config.outputs = { inherit (config) packages; };
}