aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/misc/wordnet
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
parentaf0002d884fa95ea0e5d70f37cfe47cd749b5b4e (diff)
wordnet: enable interp->result, unmark broken
Diffstat (limited to 'pkgs/applications/misc/wordnet')
-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
};
}