home-manager/tests/modules/programs/mpv/mpv-invalid-settings.nix
2024-02-03 19:39:45 +01:00

17 lines
318 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./mpv-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.''
];
}