diff --git a/modules/programs/mpv.nix b/modules/programs/mpv.nix index 3a4e5092f..a5b0517fe 100644 --- a/modules/programs/mpv.nix +++ b/modules/programs/mpv.nix @@ -125,7 +125,7 @@ in { (if cfg.scripts == [ ] then pkgs.mpv else - pkgs.mpv-with-scripts.override { scripts = cfg.scripts; }) + pkgs.wrapMpv pkgs.mpv-unwrapped { scripts = cfg.scripts; }) ]; } (mkIf (cfg.config != { } || cfg.profiles != { }) {