From 6fc2342caee74d4297911b0f730b243c3506e5cf Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 30 Sep 2022 21:56:18 +0200 Subject: [PATCH] Replace mpv-with-scripts with wrapMpv --- modules/software.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/software.nix b/modules/software.nix index f0c48bc..9006878 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -7,8 +7,9 @@ let (epkgs: with epkgs; [ vterm pdf-tools ])); isync-oauth2 = isync.overrideAttrs (div: rec { buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ]; }); - mpv-sponsorblock = - (mpv-with-scripts.override { scripts = [ mpvScripts.sponsorblock ]; }); + mpv-sponsorblock = (pkgs.wrapMpv pkgs.mpv-unwrapped { + scripts = [ mpvScripts.sponsorblock ]; + }); in { environment.systemPackages = [