summary refs log tree commit diff
path: root/nixos/lib/testing/call-test.nix
blob: 3e137e78cd47fd1231c2439b57e5b6f3fdcad4ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
    };
  };
}