nixpkgs/upstart-jobs/make-job.nix

5 lines
132 B
Nix
Raw Normal View History

{runCommand}: job:
runCommand job.name {inherit (job) job;}
"ensureDir $out/etc/event.d; echo \"$job\" > $out/etc/event.d/$name"