mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
mpv: drop old wrapMpv compatibility
This commit is contained in:
parent
8ca921e5a8
commit
81ef0c66e4
1 changed files with 1 additions and 3 deletions
|
@ -55,10 +55,8 @@ let
|
|||
|
||||
mpvPackage = if cfg.scripts == [ ] then
|
||||
cfg.package
|
||||
else if hasAttr "wrapMpv" pkgs then
|
||||
pkgs.wrapMpv pkgs.mpv-unwrapped { scripts = cfg.scripts; }
|
||||
else
|
||||
pkgs.mpv.override { scripts = cfg.scripts; };
|
||||
pkgs.mpv.override { inherit (cfg) scripts; };
|
||||
|
||||
in {
|
||||
options = {
|
||||
|
|
Loading…
Reference in a new issue