liminix

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

default.nix (513B)


      1 {
      2   lualinux,
      3   writeFennel,
      4   anoia,
      5   linotify,
      6   fennel,
      7   stdenv,
      8   s6-rc-up-tree,
      9 }:
     10 stdenv.mkDerivation {
     11   name = "s6-rc-round-robin";
     12   src = ./.;
     13   propagatedBuildInputs = [ s6-rc-up-tree ];
     14   installPhase = ''
     15     mkdir -p $out/bin
     16     cp -p ${
     17       writeFennel "s6-rc-round-robin" {
     18         packages = [
     19           fennel
     20           anoia
     21           linotify
     22           lualinux
     23           s6-rc-up-tree
     24         ];
     25         mainFunction = "run";
     26       } ./robin.fnl
     27     } $out/bin/s6-rc-round-robin
     28   '';
     29 }