anoia users now need lfs
... and we need to figure out how to do transitive dependencies, because this is not a great experience
This commit is contained in:
parent
74b8c98aaf
commit
7904c6bfe9
4 changed files with 8 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
||||||
writeFennelScript
|
writeFennelScript
|
||||||
, linotify
|
, linotify
|
||||||
, anoia
|
, anoia
|
||||||
|
, lua
|
||||||
}:
|
}:
|
||||||
writeFennelScript "acquire-delegated-prefix"
|
writeFennelScript "acquire-delegated-prefix"
|
||||||
[ linotify anoia ]
|
[ linotify anoia lua.pkgs.luafilesystem ]
|
||||||
./acquire-delegated-prefix.fnl
|
./acquire-delegated-prefix.fnl
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
writeFennel
|
writeFennel
|
||||||
, linotify
|
, linotify
|
||||||
, anoia
|
, anoia
|
||||||
|
, lua
|
||||||
}:
|
}:
|
||||||
writeFennel "acquire-wan-address" {
|
writeFennel "acquire-wan-address" {
|
||||||
packages = [ linotify anoia ];
|
packages = [ linotify anoia lua.pkgs.luafilesystem ];
|
||||||
mainFunction = "run";
|
mainFunction = "run";
|
||||||
} ./acquire-wan-address.fnl
|
} ./acquire-wan-address.fnl
|
||||||
|
|
|
@ -9,6 +9,7 @@ in stdenv.mkDerivation {
|
||||||
version = "0.1";
|
version = "0.1";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
nativeBuildInputs = [ fennel ];
|
nativeBuildInputs = [ fennel ];
|
||||||
|
buildInputs = with lua.pkgs; [ luafilesystem ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
for f in *.fnl ; do
|
for f in *.fnl ; do
|
||||||
fennel --compile $f > `basename $f .fnl`.lua
|
fennel --compile $f > `basename $f .fnl`.lua
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
writeFennelScript
|
writeFennelScript
|
||||||
|
, anoia
|
||||||
|
, lua
|
||||||
}:
|
}:
|
||||||
writeFennelScript "odhcpc-script" [] ./odhcp6-script.fnl
|
writeFennelScript "odhcpc-script" [anoia lua.pkgs.luafilesystem] ./odhcp6-script.fnl
|
||||||
|
|
Loading…
Reference in a new issue