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:
parent
8ca921e5a8
commit
81ef0c66e4
1 changed files with 1 additions and 3 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue