13 lines
257 B
Nix
13 lines
257 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.builders = mkOption {
|
|
description = "Collection of builder functions.";
|
|
type = with types; attrsOf (functionTo package);
|
|
default = {};
|
|
};
|
|
|
|
config._module.args = { inherit (config) builders; };
|
|
}
|