summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/ibus-engines
diff options
context:
space:
mode:
authordanbst <abcz2.uprola@gmail.com>2019-08-05 14:01:45 +0300
committerdanbst <abcz2.uprola@gmail.com>2019-08-05 14:01:45 +0300
commit91bb646e98808d594b339d3386f7963a546ccfb4 (patch)
tree4390925c6087d284c11183193044835152f6cea5 /pkgs/tools/inputmethods/ibus-engines
parent3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca (diff)
downloadnixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.gz
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.bz2
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.lz
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.xz
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.zst
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.zip
Revert "mass replace "flip map -> foreach""
This reverts commit 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca.
Diffstat (limited to 'pkgs/tools/inputmethods/ibus-engines')
-rw-r--r--pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/wrapper.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/wrapper.nix
index 9fcaea2925c..1115e4e232f 100644
--- a/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/wrapper.nix
+++ b/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/wrapper.nix
@@ -4,7 +4,7 @@
 
 let
 
-  hunspellDirs = with lib; makeSearchPath ":" (flatten (foreach langs (lang: [
+  hunspellDirs = with lib; makeSearchPath ":" (flatten (flip map langs (lang: [
     "${hunspellDicts.${lang}}/share/hunspell"
     "${hunspellDicts.${lang}}/share/myspell"
     "${hunspellDicts.${lang}}/share/myspell/dicts"