1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 00:09:48 +01:00
home-manager/tests/modules/programs/mpv/mpv-invalid-settings.nix
2024-02-03 19:39:45 +01:00

16 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.''
];
}