about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-10-21 22:53:01 +0300
committerArtturin <Artturin@artturin.com>2021-10-26 15:29:23 +0300
commitc5ef7d7091930cf0818401d6752ea10aa732c759 (patch)
tree08db68c456815358296021e6450785eb01d261a3 /pkgs/tools/inputmethods
parentbe3d12d4e528a082693b90bd7e8e57e52b4de13e (diff)
m17n-db: fix cross-compilation
enable strictDeps
had to add gawk and bash as there are some scripts with the sh shebang and
gawk shebang
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/m17n-db/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/tools/inputmethods/m17n-db/default.nix b/pkgs/tools/inputmethods/m17n-db/default.nix
index 9344951dffe75..d24d1b44d8620 100644
--- a/pkgs/tools/inputmethods/m17n-db/default.nix
+++ b/pkgs/tools/inputmethods/m17n-db/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, gettext }:
+{ lib, stdenv, fetchurl, gettext, gawk, bash }:
 
 stdenv.mkDerivation rec {
   pname = "m17n-db";
@@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
     sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5";
   };
 
-  buildInputs = [ gettext ];
+  nativeBuildInputs = [ gettext ];
+  buildInputs = [ gettext gawk bash ];
+
+  strictDeps = true;
 
   configureFlags = lib.optional (stdenv ? glibc)
     "--with-charmaps=${stdenv.glibc.out}/share/i18n/charmaps"