Ops.program: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend as Ops Lines 46-55 of near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/ops.bend&start_line=46&end_line=55 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/type.bend as Sv # ---- a service as a nix-darwin launchd job ---- # The program's path in the Nix store. def program(p: Sv.Program) -> String: match p: case Sv.RunNode{}: "\"${pkgs.nodejs_24}/bin/node\"" case Sv.RunPython{}: "\"${pkgs.python3.withPackages (ps: [ ps.watchdog ])}/bin/python3\"" case Sv.RunBash{}: "\"${pkgs.bash}/bin/bash\"" Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/service/type.bend&name=Program