mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03: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