home/mpv: revert wrapper workaround

This commit is contained in:
Guanran Wang 2024-06-21 11:05:31 +08:00
parent e9200310c9
commit 26d0df9748
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

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