beret: Store game status in home directory

svn path=/nixpkgs/trunk/; revision=31021
This commit is contained in:
Shea Levy
2011-12-21 18:18:15 +00:00
parent e1a96b2b88
commit f821677f67
2 changed files with 51 additions and 1 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ stdenv.mkDerivation {
NIX_CFLAGS_LINK = "-lgcc_s";
patchPhase = ''
patches = [ ./use-home-dir.patch ];
postPatch = ''
sed -i 's@RESOURCE_PATH ""@RESOURCE_PATH "'$out'/share/"@' game.c
'';