75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
25 lines
526 B
Nix
25 lines
526 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
programs.mpv = {
|
|
enable = true;
|
|
package = pkgs.mpvDummy;
|
|
scripts = [ pkgs.mpvScript ];
|
|
};
|
|
|
|
nixpkgs.overlays = [
|
|
(self: super: {
|
|
mpvScript =
|
|
pkgs.runCommandLocal "mpvScript" { scriptName = "something"; }
|
|
"mkdir $out";
|
|
})
|
|
];
|
|
test.stubs.mpvDummy = { };
|
|
|
|
test.asserts.assertions.expected = [
|
|
''
|
|
The programs.mpv "package" option is mutually exclusive with "scripts" option.''
|
|
];
|
|
};
|
|
}
|