summary refs log tree commit diff
path: root/nixos/lib/testing/name.nix
blob: 0af593169eeca58f929724cc6c66167bb828a44a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, ... }:
let
  inherit (lib) mkOption types mdDoc;
in
{
  options.name = mkOption {
    description = mdDoc ''
      The name of the test.

      This is used in the derivation names of the [{option}`driver`](#test-opt-driver) and [{option}`test`](#test-opt-test) runner.
    '';
    type = types.str;
  };
}