fennel: extract some common functions into a shareable module

This commit is contained in:
Daniel Barlow committed 2023-07-05 20:23:27 +01:00
1 parent c3bb33c9ce
commit 2de4d7a8f9
7 files changed
+60 -21

No files matched your search

+5 -1
View File
@@ -6,7 +6,11 @@
}:
name : packages : source :
let
luapath = builtins.map (f: "${f}/share/lua/${lua.luaversion}/?.lua;") packages;
luapath = builtins.map
(f:
"${f}/share/lua/${lua.luaversion}/?.lua;" +
"${f}/share/lua/${lua.luaversion}/?/init.lua;")
packages;
luacpath = builtins.map (f: "${f}/lib/lua/${lua.luaversion}/?.so;") packages;
in stdenv.mkDerivation {
inherit name;