about summary refs log tree commit diff
path: root/pkgs/applications/misc/wordnet/default.nix
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-05-16 00:56:35 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2015-05-16 00:57:27 +0200
commite47fe46e031d2df000f2baee598b2553e5ca93f6 (patch)
treeb0c7b61bac0ab226089a2b5fd6836703c2009fa6 /pkgs/applications/misc/wordnet/default.nix
parentaf0002d884fa95ea0e5d70f37cfe47cd749b5b4e (diff)
downloadnixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.tar
nixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.tar.gz
nixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.tar.bz2
nixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.tar.lz
nixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.tar.xz
nixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.tar.zst
nixlib-e47fe46e031d2df000f2baee598b2553e5ca93f6.zip
wordnet: enable interp->result, unmark broken
Diffstat (limited to 'pkgs/applications/misc/wordnet/default.nix')
-rw-r--r--pkgs/applications/misc/wordnet/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/misc/wordnet/default.nix b/pkgs/applications/misc/wordnet/default.nix
index d46790e4d72b..c70436e68f99 100644
--- a/pkgs/applications/misc/wordnet/default.nix
+++ b/pkgs/applications/misc/wordnet/default.nix
@@ -10,6 +10,10 @@ stdenv.mkDerivation {
 
   buildInputs = [tcl tk x11 makeWrapper];
 
+  patchPhase = ''
+    sed "13i#define USE_INTERP_RESULT 1" -i src/stubs.c
+  '';
+
   # Needs the path to `tclConfig.sh' and `tkConfig.sh'.
   configureFlags = "--with-tcl=" + tcl + "/lib " +
                    "--with-tk="  + tk  + "/lib";
@@ -37,6 +41,5 @@ stdenv.mkDerivation {
 
     maintainers = [ ];
     platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
-    broken = true;  # we'd need older tk/tcl
   };
 }