aerc: cleanup unused bindings

This commit is contained in:
Damien Cassou 2023-08-27 19:09:23 +02:00 committed by Robert Helgesson
parent 90e62f96c7
commit 35cbed7ac7
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 1 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, confSections, confSection, ... }: { config, lib, confSections, confSection, ... }:
with lib; with lib;

View file

@ -104,7 +104,6 @@ in {
let let
global = conf.global or { }; global = conf.global or { };
local = removeAttrs conf [ "global" ]; local = removeAttrs conf [ "global" ];
optNewLine = if global != { } && local != { } then "\n" else "";
mkValueString = v: mkValueString = v:
if isList v then # join with comma if isList v then # join with comma
concatStringsSep "," (map (generators.mkValueStringDefault { }) v) concatStringsSep "," (map (generators.mkValueStringDefault { }) v)