3
0
Fork 0
forked from mirrors/nixpkgs

postfix: wakeup value should be used even if wakeupUnusedComponent is not defined

This commit is contained in:
Matt McHenry 2017-08-10 21:22:28 -04:00
parent 01fbf30041
commit 9186dda4a9

View file

@ -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