1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

mpv: drop old wrapMpv compatibility

This commit is contained in:
Sandro Jäckel 2024-11-01 14:51:08 +01:00
parent 8ca921e5a8
commit 81ef0c66e4
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -55,10 +55,8 @@ let
mpvPackage = if cfg.scripts == [ ] then mpvPackage = if cfg.scripts == [ ] then
cfg.package cfg.package
else if hasAttr "wrapMpv" pkgs then
pkgs.wrapMpv pkgs.mpv-unwrapped { scripts = cfg.scripts; }
else else
pkgs.mpv.override { scripts = cfg.scripts; }; pkgs.mpv.override { inherit (cfg) scripts; };
in { in {
options = { options = {