From b567d2739422afc618055833dd693042127c55eb Mon Sep 17 00:00:00 2001 From: Nicolas Berbiche Date: Sun, 31 May 2020 01:15:23 -0400 Subject: [PATCH] mpv: use wrapMpv instead of mpv-with-scripts The latter has been removed from Nixpkgs. See: - - PR #1295 --- modules/programs/mpv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != { }) {