mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
Remove obsolete function addDefaultOptionValues
This commit is contained in:
parent
f8a9eb9f00
commit
c9dad37f01
2 changed files with 4 additions and 28 deletions
|
@ -47,8 +47,10 @@ let
|
|||
svcFunction =
|
||||
if svc ? function then svc.function
|
||||
else import "${./.}/${if svc ? serviceType then svc.serviceType else svc.serviceName}.nix";
|
||||
config = addDefaultOptionValues res.options
|
||||
(if svc ? config then svc.config else svc);
|
||||
config = (evalModules
|
||||
{ modules = [ { options = res.options; config = svc.config or svc; } ];
|
||||
check = false;
|
||||
}).config;
|
||||
defaults = {
|
||||
extraConfig = "";
|
||||
extraModules = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue