Merge pull request #88472 from cript0nauta/mpv-fix-lua-path
mpv: wrap LUA_CPATH and LUA_PATH environment variables
This commit is contained in:
commit
45dad06bed
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
# Ensure youtube-dl is available in $PATH for mpv
|
||||
wrapperFlags =
|
||||
''--prefix LUA_CPATH ';' "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \'' +
|
||||
''--prefix LUA_PATH ';' "${luaEnv}/share/lua/${lua.luaversion}/?.lua" \'' +
|
||||
''--prefix PATH : "${luaEnv}/bin" \''
|
||||
+ optionalString youtubeSupport ''
|
||||
--prefix PATH : "${youtube-dl}/bin" \
|
||||
|
|
Loading…
Reference in a new issue