refactor all writeFennelScript calls to use writeFennel directly

This commit is contained in:
Daniel Barlow committed 2024-08-30 20:57:42 +01:00
1 parent e745991b9d
commit 7d6c80570c
5 files changed
+12 -12

No files matched your search

+4 -5
View File
@@ -1,15 +1,14 @@
{
netlink-lua,
writeFennelScript,
writeFennel,
runCommand,
anoia,
}:
runCommand "ifwait" { } ''
mkdir -p $out/bin
cp -p ${
writeFennelScript "ifwait" [
anoia
netlink-lua
] ./ifwait.fnl
writeFennel "ifwait" {
packages = [ anoia netlink-lua ];
} ./ifwait.fnl
} $out/bin/ifwait
''