I am about to introduce more tests making use of the stubs, let's centralize them in one file.
18 lines
298 B
Nix
18 lines
298 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [ ./stubs.nix ];
|
|
|
|
programs.mpv = {
|
|
enable = true;
|
|
package = pkgs.emptyDirectory;
|
|
scripts = [ pkgs.mpvScript ];
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
''The programs.mpv "package" option is mutually exclusive with "scripts" option.''
|
|
];
|
|
}
|