summary refs log tree commit diff
path: root/pkgs/applications/misc/xneur
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/xneur')
-rw-r--r--pkgs/applications/misc/xneur/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/misc/xneur/default.nix b/pkgs/applications/misc/xneur/default.nix
index 2f02231536dfa..eab545cf08189 100644
--- a/pkgs/applications/misc/xneur/default.nix
+++ b/pkgs/applications/misc/xneur/default.nix
@@ -2,6 +2,7 @@
 , lib
 , fetchurl
 , fetchpatch
+, autoreconfHook
 , intltool
 , pkg-config
 , wrapGAppsHook
@@ -25,6 +26,7 @@ stdenv.mkDerivation {
   };
 
   nativeBuildInputs = [
+    autoreconfHook
     intltool
     pkg-config
     wrapGAppsHook
@@ -52,10 +54,15 @@ stdenv.mkDerivation {
       url = "https://salsa.debian.org/debian/xneur/-/raw/da38ad9c8e1bf4e349f5ed4ad909f810fdea44c9/debian/patches/gcc-10.patch";
       sha256 = "0pc17a4sdrnrc4z7gz28889b9ywqsm5mzm6m41h67j2f5zh9k3fy";
     })
+    (fetchpatch {
+      name = "enchant2.patch";
+      url = "https://salsa.debian.org/debian/xneur/-/raw/695b0fea56cde4ff6cf0f3988218c5cb9d7ff5ae/debian/patches/enchant2.patch";
+      sha256 = "02a3kkfzdvs5f8dfm6j5x3jcn5j8qah9ykfymp6ffqsf4fijp65n";
+    })
   ];
 
   postPatch = ''
-    sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure
+    sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure.ac
   '';
 
   meta = with lib; {