diff --git a/modules/config/shells-environment.nix b/modules/config/shells-environment.nix index f1ce492d816..4f7447f435b 100644 --- a/modules/config/shells-environment.nix +++ b/modules/config/shells-environment.nix @@ -154,7 +154,7 @@ in ${concatStringsSep "\n" ( (mapAttrsToList (n: v: ''export ${n}="${concatStringsSep ":" v}"'') # This line is a kind of a hack because of !!! note above - (fold (mergeAttrsWithFunc concat) {} ([ (mapAttrs (n: v: [ v ]) cfg.variables) ] ++ map cfg.profileVariables cfg.profiles))))} + (zipAttrsWith (const concatLists) ([ (mapAttrs (n: v: [ v ]) cfg.variables) ] ++ map cfg.profileVariables cfg.profiles))))} ${cfg.extraInit}