···7, symlinkJoin
8, writeTextDir
9, yt-dlp
0010}:
11-12-# the unwrapped mpv derivation - 1st argument to `wrapMpv`
13-mpv:
1415let
16- # arguments to the function (exposed as `wrapMpv` in all-packages.nix)
17 wrapper = {
018 extraMakeWrapperArgs ? [],
19 youtubeSupport ? true,
20- # a set of derivations (probably from `mpvScripts`) where each is
21- # expected to have a `scriptName` passthru attribute that points to the
22- # name of the script that would reside in the script's derivation's
23 # `$out/share/mpv/scripts/`.
24- # A script can optionally also provide an `extraWrapperArgs` passthru attribute.
0025 scripts ? [],
26 extraUmpvWrapperArgs ? []
27 }:
···7, symlinkJoin
8, writeTextDir
9, yt-dlp
10+# the unwrapped mpv derivation
11+, mpv
12}:
0001314let
15+ # arguments to the function (exposed as `mpv-unwrapped.wrapper` in top-level)
16 wrapper = {
17+ mpv,
18 extraMakeWrapperArgs ? [],
19 youtubeSupport ? true,
20+ # a set of derivations (probably from `mpvScripts`) where each is expected
21+ # to have a `scriptName` passthru attribute that points to the name of the
22+ # script that would reside in the script's derivation's
23 # `$out/share/mpv/scripts/`.
24+ #
25+ # A script can optionally also provide `passthru.extraWrapperArgs`
26+ # attribute.
27 scripts ? [],
28 extraUmpvWrapperArgs ? []
29 }: