liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (315B)


      1 {
      2   netlink-lua,
      3   writeFennel,
      4   runCommand,
      5   anoia,
      6   lualinux,
      7   s6-rc-up-tree,
      8 }:
      9 runCommand "ifwait" { } ''
     10   mkdir -p $out/bin
     11   cp -p ${
     12     writeFennel "ifwait" {
     13       packages = [
     14         anoia
     15         lualinux
     16         netlink-lua
     17         s6-rc-up-tree
     18       ];
     19     } ./ifwait.fnl
     20   } $out/bin/ifwait
     21 ''