anoia users now need lfs

... and we need to figure out how to do transitive
dependencies, because this is not a great experience
doc-do-over
Daniel Barlow 2023-09-12 18:46:04 +01:00
parent 74b8c98aaf
commit 7904c6bfe9
4 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,8 @@
writeFennelScript
, linotify
, anoia
, lua
}:
writeFennelScript "acquire-delegated-prefix"
[ linotify anoia ]
[ linotify anoia lua.pkgs.luafilesystem ]
./acquire-delegated-prefix.fnl

View File

@ -2,8 +2,9 @@
writeFennel
, linotify
, anoia
, lua
}:
writeFennel "acquire-wan-address" {
packages = [ linotify anoia ];
packages = [ linotify anoia lua.pkgs.luafilesystem ];
mainFunction = "run";
} ./acquire-wan-address.fnl

View File

@ -9,6 +9,7 @@ in stdenv.mkDerivation {
version = "0.1";
src = ./.;
nativeBuildInputs = [ fennel ];
buildInputs = with lua.pkgs; [ luafilesystem ];
buildPhase = ''
for f in *.fnl ; do
fennel --compile $f > `basename $f .fnl`.lua

View File

@ -1,4 +1,6 @@
{
writeFennelScript
, anoia
, lua
}:
writeFennelScript "odhcpc-script" [] ./odhcp6-script.fnl
writeFennelScript "odhcpc-script" [anoia lua.pkgs.luafilesystem] ./odhcp6-script.fnl