Replace mpv-with-scripts with wrapMpv

This commit is contained in:
coolneng 2022-09-30 21:56:18 +02:00
parent d5c43fe4f7
commit 6fc2342cae
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 2 deletions

View File

@ -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 = [