forked from DGNum/liminix
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
|
||||
, linotify
|
||||
, anoia
|
||||
, lua
|
||||
}:
|
||||
writeFennelScript "acquire-delegated-prefix"
|
||||
[ linotify anoia ]
|
||||
[ linotify anoia lua.pkgs.luafilesystem ]
|
||||
./acquire-delegated-prefix.fnl
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
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