mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
* 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
@ -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 New Issue
Block a user