git.delta.rocks / jrsonnet / refs/commits / 3df46664a441

difftreelog

fix generator should be an unique functionTo

Lach2025-03-23parent: #b59e008.patch.diff
in: trunk

1 file changed

modifiedmodules/secrets.nixdiffbeforeafterboth
4 ...4 ...
5}: let5}: let
6 inherit (lib.options) mkOption literalExpression;6 inherit (lib.options) mkOption literalExpression;
7 inherit (lib.types) unspecified nullOr listOf str bool attrsOf submodule functionTo package;7 inherit (lib.types) unspecified nullOr listOf str bool attrsOf submodule functionTo package unique;
8 inherit (lib.strings) concatStringsSep;8 inherit (lib.strings) concatStringsSep;
9 inherit (lib.attrsets) mapAttrs;9 inherit (lib.attrsets) mapAttrs;
1010
41 '';41 '';
42 };42 };
43 generator = mkOption {43 generator = mkOption {
44 type = nullOr (functionTo package);44 type = nullOr (unique (functionTo package));
45 description = ''45 description = ''
46 Function evaluating to nix derivation responsible for (re)generating the secret's content.46 Function evaluating to nix derivation responsible for (re)generating the secret's content.
4747