From ef1c368238cc3e2b251282f8495aaac98afbe343 Mon Sep 17 00:00:00 2001 From: Stephane Raux Date: Tue, 22 Mar 2022 11:47:20 -0500 Subject: [PATCH] i3-sway: Empty set argument was passed to wrong function 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 e1b90046e44f..00870525c8e0 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 ])) { }) }