0817c307dc
svn path=/nixos/trunk/; revision=7155
7 lines
203 B
Nix
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";
|
|
}
|