mpv: change for nixpkgs changes

This commit is contained in:
Artemis Tosini 2024-06-15 11:30:01 +00:00
parent 8d4688777e
commit a43200d376
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -1,8 +1,10 @@
{ pkgs, config, ... }: { pkgs, ... }:
let let
ffmpeg = pkgs.ffmpeg-full; ffmpeg = pkgs.ffmpeg-full;
mpv = pkgs.mpv-unwrapped.wrapper {
mpv = pkgs.mpv-unwrapped.override { inherit ffmpeg; };
scripts = with pkgs.mpvScripts; [ sponsorblock ]; scripts = with pkgs.mpvScripts; [ sponsorblock ];
mpv = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { inherit ffmpeg; }) { inherit scripts; }; };
in in
{ {
home.packages = [ ffmpeg ]; home.packages = [ ffmpeg ];