This website requires JavaScript.
Explore
Help
Sign In
raboof
/
liminix
Watch
1
Star
0
Fork
0
You've already forked liminix
forked from
dan/liminix
Code
Pull Requests
Activity
e94bf62ec1
liminix
/
pkgs
/
write-fennel-script
/
default.nix
6 lines
99 B
Nix
Raw
Normal View
History
Unescape
Escape
remove dead code (run deadnix)
2024-06-29 21:59:27 +00:00
{
writeFennel
install fennel from source as a package nixos lua packaging is giving me a headache
2023-07-04 21:56:17 +00:00
,
stdenv
add writeFennelScript function, make ifwait use it
2023-05-29 19:20:12 +00:00
}
:
install fennel from source as a package nixos lua packaging is giving me a headache
2023-07-04 21:56:17 +00:00
name
:
packages
:
source
:
writeFennel is writeFennelScript with knobs on The second parameter is now an options attrset, wherein we will pile all kinds of cool stuff. Right now the only cool bit is `mainFunction`, which allows you to compile a fennel module into a lua script and name the function that should be executed when the script runs. This makes it easier to write testable Fennel code, because the test script can require the module and call stuff in it.
2023-09-12 16:45:18 +00:00
writeFennel
name
{
inherit
packages
;
}
source
Copy Permalink