home/mpv: revert wrapper workaround

This commit is contained in:
Guanran Wang 2024-06-21 11:05:31 +08:00
parent 114ba215df
commit bd3a2e1aa7

View file

@ -17,18 +17,14 @@
slang = "eng,en"; slang = "eng,en";
}; };
# FIXME: https://github.com/nix-community/home-manager/pull/5524 scripts =
package = pkgs.mpv-unwrapped.wrapper { (with pkgs.mpvScripts; [
mpv = pkgs.mpv-unwrapped; thumbfast
scripts = sponsorblock
(with pkgs.mpvScripts; [ modernx-zydezu
thumbfast ])
sponsorblock ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs.mpvScripts; [
modernx-zydezu mpris
]) ]);
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs.mpvScripts; [
mpris
]);
};
}; };
} }