nixpkgs/nixos/lib/testing/name.nix

15 lines
302 B
Nix

{ lib, ... }:
let
inherit (lib) mkOption types;
in
{
options.name = mkOption {
description = ''
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;
};
}