nixpkgs/upstart-jobs/make-job.nix
Eelco Dolstra 0817c307dc * Moving stuff around.
svn path=/nixos/trunk/; revision=7155
2006-11-27 19:49:05 +00:00

7 lines
203 B
Nix

{stdenv}: job:
stdenv.mkDerivation {
inherit (job) name job;
builder = builtins.toFile "builder.sh"
"source $stdenv/setup; ensureDir $out/etc/event.d; echo \"$job\" > $out/etc/event.d/$name";
}