forked from mirrors/nixpkgs
postfix: wakeup value should be used even if wakeupUnusedComponent is not defined
This commit is contained in:
parent
01fbf30041
commit
9186dda4a9
|
@ -213,8 +213,8 @@ let
|
|||
wakeupDefined = options.wakeup.isDefined;
|
||||
wakeupUCDefined = options.wakeupUnusedComponent.isDefined;
|
||||
finalValue = toString config.wakeup
|
||||
+ optionalString (!config.wakeupUnusedComponent) "?";
|
||||
in if wakeupDefined && wakeupUCDefined then finalValue else "-";
|
||||
+ optionalString (wakeupUCDefined && !config.wakeupUnusedComponent) "?";
|
||||
in if wakeupDefined then finalValue else "-";
|
||||
|
||||
in [
|
||||
config.name
|
||||
|
|
Loading…
Reference in a new issue