Commit Graph

6 Commits

Author SHA1 Message Date
Matthieu Coudron
c4519cf8a6 lua: add withPackages function (#54460)
* lua: add withPackages function

First step towards more automation similar to the haskell backend.
Follow up of https://github.com/NixOS/nixpkgs/pull/33903
2019-01-30 14:13:15 +00:00
Luka Blaskovic
00349e27e5 lua packages: add init.lua to modules search path 2018-05-24 13:43:15 +00:00
Luka Blaskovic
7b7607382d lua packages: propagate libs with a setupHook
The LUA_PATH and LUA_CPATH variables are needed to load libraries.
This setupHook exports them to the environment.
2018-02-25 21:24:47 +00:00
xd1le
df5691d677 buildLuaPackage: set makeFlags directly instead of through preBuild
So that lua packages can override it without having to resort to setting
makeFlagsArray in preBuild.
2017-10-10 02:51:05 +11:00
wyvie
111b5aa38c Assertion throws err message on fail in buildLuaPackage 2014-09-23 13:56:45 +02:00
wyvie
e6eb51496b Added luaPackages, moved lua sockets and lua filesystem to luaPackages, fixed mudlet deps 2014-09-23 13:56:45 +02:00