* Fix indentation.

svn path=/nixos/branches/upstart-0.6/; revision=18186
This commit is contained in:
Eelco Dolstra 2009-11-06 09:26:36 +00:00
parent 194a24bcf1
commit 5fc4590ce5

View File

@ -73,10 +73,12 @@ let
echo "$jobText" > $out/etc/event.d/${job.name} echo "$jobText" > $out/etc/event.d/${job.name}
''; '';
jobs = jobs =
[pkgs.upstart] # for the built-in logd job [pkgs.upstart] # for the built-in logd job
++ map (job: job.upstartPkg) (attrValues config.jobs); ++ map (job: job.upstartPkg) (attrValues config.jobs);
# Create an etc/event.d directory containing symlinks to the # Create an etc/event.d directory containing symlinks to the
# specified list of Upstart job files. # specified list of Upstart job files.
jobsDir = pkgs.runCommand "upstart-jobs" {inherit jobs;} jobsDir = pkgs.runCommand "upstart-jobs" {inherit jobs;}
@ -93,7 +95,7 @@ let
done done
''; # */ ''; # */
# !! remove extra indentations.
jobOptions = { jobOptions = {
name = mkOption { name = mkOption {
@ -219,6 +221,7 @@ let
}; };
upstartJob = {name, config, ...}: { upstartJob = {name, config, ...}: {
options = { options = {
upstartPkg = mkOption { upstartPkg = mkOption {