3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/upstart-jobs/make-job.nix
Eelco Dolstra c063ea2bfa * Use runCommand.
svn path=/nixos/trunk/; revision=7300
2006-12-10 22:43:04 +00:00

5 lines
132 B
Nix

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