summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-04-24 11:08:33 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-04-24 11:22:55 +0200
commit8266c89b55e3ae97ff635a0f9f8aee556ae7b384 (patch)
treee906d30c06ac2d2cf67a8aa6c321681eccca6bc8 /pkgs/development/python-modules/httpserver
parentbb6a5b079fe8c88a6e42c92179711b2d0a9a9842 (diff)
nixos/xserver: Fix up/refactor xrandrHeads option
Using invalid module options in the submodule isn't very nice, because it doesn't give very useful errors in case of type mismatch, also we don't get descriptions of these options as they're effecively nonexistent to the module system. Another downside of this is that merging of these options isn't done correctly as well (eg. for types.lines). So we now have proper submodules for each xrandrHead and we also use corcedTo in the type of xrandrHeads so that we can populate the submodule's "output" option in case a plain string is defined for a list item. Instead of silently skipping multiple primary heads, we now have an assertion, which displays a message and aborts configuration evaluation appropriately. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions