From 54ba3c7ff4855a1e82dc4cede94c9fc5979d8f88 Mon Sep 17 00:00:00 2001 From: Jonathan Glines Date: Sun, 8 Jun 2014 22:44:06 -0600 Subject: [PATCH] Fixed problem with worddir and ruledir path. --- pkgs/games/typespeed/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/games/typespeed/default.nix b/pkgs/games/typespeed/default.nix index edb91e164fec..1282dec2a8fd 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/"; }