Unverified Commit 0e989150 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

nixos/fcitx5: fix quickphrase (#368743)

parents 79fa758e 6975dea4
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -117,9 +117,11 @@ in
    i18n.inputMethod.fcitx5.addons =
      lib.optionals (cfg.quickPhrase != { }) [
        (pkgs.writeTextDir "share/fcitx5/data/QuickPhrase.mb" (
          lib.concatStringsSep "\n" (
            lib.mapAttrsToList (
              name: value: "${name} ${builtins.replaceStrings [ "\\" "\n" ] [ "\\\\" "\\n" ] value}"
            ) cfg.quickPhrase
          )
        ))
      ]
      ++ lib.optionals (cfg.quickPhraseFiles != { }) [