From a43200d37698431b74aa06171d445450ff5c1d41 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sat, 15 Jun 2024 11:30:01 +0000 Subject: [PATCH] mpv: change for nixpkgs changes --- home/mpv.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home/mpv.nix b/home/mpv.nix index 2b5d30e..c2f0181 100644 --- a/home/mpv.nix +++ b/home/mpv.nix @@ -1,8 +1,10 @@ -{ pkgs, config, ... }: +{ pkgs, ... }: let ffmpeg = pkgs.ffmpeg-full; - scripts = with pkgs.mpvScripts; [ sponsorblock ]; - mpv = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { inherit ffmpeg; }) { inherit scripts; }; + mpv = pkgs.mpv-unwrapped.wrapper { + mpv = pkgs.mpv-unwrapped.override { inherit ffmpeg; }; + scripts = with pkgs.mpvScripts; [ sponsorblock ]; + }; in { home.packages = [ ffmpeg ];