3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib/testing/name.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
314 B
Nix
Raw Normal View History

{ lib, ... }:
2022-06-27 19:06:30 +01:00
let
inherit (lib) mkOption types mdDoc;
in
{
2022-06-27 19:06:30 +01:00
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.
2022-06-27 19:06:30 +01:00
'';
type = types.str;
};
}