1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-08 20:29:43 +01:00
home-manager/tests/modules/programs/mpv/mpv-invalid-settings.nix

17 lines
318 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
2024-02-03 19:39:45 +01:00
imports = [ ./mpv-stubs.nix ];
2024-02-03 19:39:45 +01:00
programs.mpv = {
enable = true;
package = pkgs.emptyDirectory;
scripts = [ pkgs.mpvScript ];
};
2024-02-03 19:39:45 +01:00
test.asserts.assertions.expected = [
''
The programs.mpv "package" option is mutually exclusive with "scripts" option.''
];
}