helix: fix configuration file creation logic (#7319)

without this change, an extraConfig file always gets created, even when
none is specified
This commit is contained in:
Jonathan Davies
2025-06-24 17:06:11 +01:00
committed by GitHub
parent d07e9cceb4
commit a4bac2b9ba

View File

@@ -232,7 +232,7 @@ in
settings =
let
hasSettings = cfg.settings != { };
hasExtraConfig = cfg.extraConfig != null;
hasExtraConfig = cfg.extraConfig != "";
in
{
"helix/config.toml" = mkIf (hasSettings || hasExtraConfig) {