From 48a1584d8ba427dd9d74e2b2b842c70a6dd9c4fa Mon Sep 17 00:00:00 2001 From: stephaneyfx Date: Tue, 22 Mar 2022 15:04:28 -0500 Subject: [PATCH] i3-sway: Empty set argument was passed to wrong function (#2819) This would give the error "attempt to call something which is not a function but a list" given that `optionals a b` returns a list. `indent` is the one taking this empty set as second argument. --- modules/services/window-managers/i3-sway/lib/functions.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/window-managers/i3-sway/lib/functions.nix b/modules/services/window-managers/i3-sway/lib/functions.nix index e1b90046e..00870525c 100644 --- a/modules/services/window-managers/i3-sway/lib/functions.nix +++ b/modules/services/window-managers/i3-sway/lib/functions.nix @@ -123,7 +123,7 @@ rec { (optionalString (colors.bindingMode != null) "binding_mode ${barColorSetStr colors.bindingMode}") "}" - ])) { }) + ]) { })) extraConfig ])) { }) }