default.nix
1 { writeTextFile, namespace }: 2 let 3 inherit (builtins) readFile; 4 destination = "/share/${namespace}/log.sh"; 5 in 6 writeTextFile { 7 inherit destination; 8 9 name = "${namespace}-log"; 10 text = readFile ./log.sh; 11 12 passthru = { inherit destination; }; 13 }