summary refs log tree commit diff
path: root/pkgs/games/typespeed
diff options
context:
space:
mode:
authorJonathan Glines <auntieNeo@gmail.com>2014-06-08 22:44:06 -0600
committerJonathan Glines <auntieNeo@gmail.com>2014-06-08 22:44:06 -0600
commit54ba3c7ff4855a1e82dc4cede94c9fc5979d8f88 (patch)
tree382a265f2b1c7933c73711345bd557c0b3711205 /pkgs/games/typespeed
parent150f6f9ee6734dc9534d022766670b0ee046d952 (diff)
Fixed problem with worddir and ruledir path.
Diffstat (limited to 'pkgs/games/typespeed')
-rw-r--r--pkgs/games/typespeed/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/typespeed/default.nix b/pkgs/games/typespeed/default.nix
index edb91e164fec9..1282dec2a8fde 100644
--- a/pkgs/games/typespeed/default.nix
+++ b/pkgs/games/typespeed/default.nix
@@ -3,9 +3,12 @@
 stdenv.mkDerivation {
   name = "typespeed-0.6.5";
   buildInputs = [ ncurses ];
-  configureFlags = "--with-highscoredir=/tmp";
   src = fetchurl {
     url = http://typespeed.sourceforge.net/typespeed-0.6.5.tar.gz;
     sha256 = "5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961";
   };
+
+  patches = [ ./typespeed-config-in-home.patch ];
+
+  configureFlags = "--datadir=\${out}/share/";
 }