lol

nixos/fcitx5: fix quickphrase (#368743)

authored by

Gaétan Lepage and committed by
GitHub
0e989150 79fa758e

+5 -3
+5 -3
nixos/modules/i18n/input-method/fcitx5.nix
··· 117 117 i18n.inputMethod.fcitx5.addons = 118 118 lib.optionals (cfg.quickPhrase != { }) [ 119 119 (pkgs.writeTextDir "share/fcitx5/data/QuickPhrase.mb" ( 120 - lib.mapAttrsToList ( 121 - name: value: "${name} ${builtins.replaceStrings [ "\\" "\n" ] [ "\\\\" "\\n" ] value}" 122 - ) cfg.quickPhrase 120 + lib.concatStringsSep "\n" ( 121 + lib.mapAttrsToList ( 122 + name: value: "${name} ${builtins.replaceStrings [ "\\" "\n" ] [ "\\\\" "\\n" ] value}" 123 + ) cfg.quickPhrase 124 + ) 123 125 )) 124 126 ] 125 127 ++ lib.optionals (cfg.quickPhraseFiles != { }) [