This commit is contained in:
Gabriel Ebner 2021-12-03 12:41:09 +01:00
parent ea517b4e74
commit c95bcb5eaf
2 changed files with 29 additions and 1 deletions

28
148418.patch Normal file

@ -0,0 +1,28 @@
From b5b74c914e135834ee3d88c76a3db9f563ed4ca7 Mon Sep 17 00:00:00 2001
From: Gabriel Ebner <gebner@gebner.org>
Date: Fri, 3 Dec 2021 12:22:31 +0100
Subject: [PATCH] m17n_lib: fix m17n-db support
---
pkgs/tools/inputmethods/m17n-lib/default.nix | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/pkgs/tools/inputmethods/m17n-lib/default.nix b/pkgs/tools/inputmethods/m17n-lib/default.nix
index 2ca60bca3e74c..cc290ab0eca94 100644
--- a/pkgs/tools/inputmethods/m17n-lib/default.nix
+++ b/pkgs/tools/inputmethods/m17n-lib/default.nix
@@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
strictDeps = true;
# reconf needed to sucesfully cross-compile
- nativeBuildInputs = [ autoreconfHook pkg-config ];
-
- buildInputs = [ m17n_db ];
+ nativeBuildInputs = [
+ autoreconfHook pkg-config
+ # requires m17n-db tool at build time
+ m17n_db
+ ];
# Fails parallel build due to missing intra-package depends:
# https://savannah.nongnu.org/bugs/index.php?61377

@ -15,7 +15,7 @@
channels.nixpkgs.input = nixpkgs;
channels.nixpkgs.patches = [ ];
channels.nixpkgs.patches = [ ./148418.patch ];
nix.generateRegistryFromInputs = true;