diff options
Diffstat (limited to 'nixos/lib/testing/call-test.nix')
-rw-r--r-- | nixos/lib/testing/call-test.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nixos/lib/testing/call-test.nix b/nixos/lib/testing/call-test.nix new file mode 100644 index 00000000000..3e137e78cd4 --- /dev/null +++ b/nixos/lib/testing/call-test.nix @@ -0,0 +1,16 @@ +{ config, lib, ... }: +let + inherit (lib) mkOption types; +in +{ + options = { + callTest = mkOption { + internal = true; + type = types.functionTo types.raw; + }; + result = mkOption { + internal = true; + default = config; + }; + }; +} |