mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
4fd635404d
- libraries and applications updated to the latest - the "elementary getting started" (https://docs.enlightenment.org/auto/elementary/group__Start.html) works with just `pkg-config --cflags --libs elementary` - switched from lua-old to elua
15 lines
541 B
Diff
15 lines
541 B
Diff
--- ./src/scripts/elua/core/util.lua.old 2015-05-17 11:59:57.307743243 +0200
|
|
+++ ./src/scripts/elua/core/util.lua 2015-05-17 12:39:11.906797377 +0200
|
|
@@ -159,7 +159,10 @@
|
|
local ev = os.getenv("ELUA_" .. libname:upper() .. "_LIBRARY_PATH")
|
|
local succ, v = load_lib(libname, ev)
|
|
if not succ then
|
|
- error(v, 2)
|
|
+ succ, v = load_lib(libname, "$out/lib")
|
|
+ if not succ then
|
|
+ error(v, 2)
|
|
+ end
|
|
end
|
|
lib = v
|
|
loaded_libs[libname] = lib
|