Replace mpv-with-scripts with wrapMpv

This commit is contained in:
coolneng 2022-09-30 21:56:18 +02:00
parent f08f066634
commit 521335677f
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 ])); (epkgs: with epkgs; [ vterm pdf-tools ]));
isync-oauth2 = isync.overrideAttrs isync-oauth2 = isync.overrideAttrs
(div: rec { buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ]; }); (div: rec { buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ]; });
mpv-sponsorblock = mpv-sponsorblock = (pkgs.wrapMpv pkgs.mpv-unwrapped {
(mpv-with-scripts.override { scripts = [ mpvScripts.sponsorblock ]; }); scripts = [ mpvScripts.sponsorblock ];
});
in { in {
environment.systemPackages = [ environment.systemPackages = [