* 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
This commit is contained in:
parent
4d0645acb1
commit
ed1029092b
1 changed files with 2 additions and 0 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue