mpv: drop old wrapMpv compatibility (#6024)
wrapMpv doesn't exist anymore for a while.
This commit is contained in:
parent
662fa98bf4
commit
30b9cd6f1a
1 changed files with 2 additions and 4 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 = {
|
||||
|
|
@ -69,7 +67,7 @@ in {
|
|||
type = types.package;
|
||||
default = pkgs.mpv;
|
||||
example = literalExpression
|
||||
"pkgs.wrapMpv (pkgs.mpv-unwrapped.override { vapoursynthSupport = true; }) { youtubeSupport = true; }";
|
||||
"pkgs.mpv-unwrapped.wrapper { mpv = pkgs.mpv-unwrapped.override { vapoursynthSupport = true; }; youtubeSupport = true; }";
|
||||
description = ''
|
||||
Package providing mpv.
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue