torch: read user PATH and LD_LIBRARY_PATH
This commit is contained in:
parent
6bb8f45182
commit
56b34be001
|
@ -73,8 +73,8 @@ let
|
|||
|
||||
for p in $out/bin/*; do
|
||||
wrapProgram $p \
|
||||
--set LD_LIBRARY_PATH "${lib.makeSearchPath "lib" runtimeDeps_}" \
|
||||
--set PATH "${lib.makeSearchPath "bin" runtimeDeps_}" \
|
||||
--suffix LD_LIBRARY_PATH ';' "${lib.makeSearchPath "lib" runtimeDeps_}" \
|
||||
--suffix PATH ';' "${lib.makeSearchPath "bin" runtimeDeps_}" \
|
||||
--suffix LUA_PATH ';' "\"$LUA_PATH\"" \
|
||||
--suffix LUA_PATH ';' "\"$out/share/lua/${lua.luaversion}/?.lua;$out/share/lua/${lua.luaversion}/?/init.lua\"" \
|
||||
--suffix LUA_CPATH ';' "\"$LUA_CPATH\"" \
|
||||
|
|
Loading…
Reference in New Issue