From ed1029092bfde7d90033cef3fd71e1fcf702c6f7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 2 Jul 2008 18:02:24 +0000 Subject: [PATCH] * Udev jobs can now declare a passthru attribute which is useful for testing the building of specific parts of a service, e.g. you can do $ nix-build /etc/nixos/nixos/ -A upstartJobs.udev.passthru.udevRules to build the udev rules directory of the udev service. svn path=/nixos/trunk/; revision=12243 --- upstart-jobs/make-job.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upstart-jobs/make-job.nix b/upstart-jobs/make-job.nix index 5523ad5af93..df56b5dee29 100644 --- a/upstart-jobs/make-job.nix +++ b/upstart-jobs/make-job.nix @@ -33,4 +33,6 @@ # Allow jobs to declare groups that should be created. groups = if job ? groups then job.groups else []; + + passthru = if job ? passthru then job.passthru else {}; }