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
302 B
Nix
Raw Normal View History

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