Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 14 lines 541 B view raw
1--- ./src/scripts/elua/core/util.lua.old 2015-05-17 11:59:57.307743243 +0200 2+++ ./src/scripts/elua/core/util.lua 2015-05-17 12:39:11.906797377 +0200 3@@ -159,7 +159,10 @@ 4 local ev = os.getenv("ELUA_" .. libname:upper() .. "_LIBRARY_PATH") 5 local succ, v = load_lib(libname, ev) 6 if not succ then 7- error(v, 2) 8+ succ, v = load_lib(libname, "$out/lib") 9+ if not succ then 10+ error(v, 2) 11+ end 12 end 13 lib = v 14 loaded_libs[libname] = lib