1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/programs/mpv/mpv-invalid-settings.nix
2024-04-10 21:27:19 +02: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.''
];
}