diff options
author | adisbladis <adisbladis@gmail.com> | 2020-04-14 08:59:21 +0100 |
---|---|---|
committer | adisbladis <adisbladis@gmail.com> | 2020-04-14 09:06:09 +0100 |
commit | 38d514513ce874d4850a3882dbf927e6c2986ee5 (patch) | |
tree | 12d67cd3d1ae87ec10b4343686cee2467cfdeb0b | |
parent | d1ec67f11eaedf0a9c6472a4fbac693df8e22b5b (diff) |
crack-attack: Set correct game directories
-rw-r--r-- | pkgs/games/crack-attack/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/games/crack-attack/default.nix b/pkgs/games/crack-attack/default.nix index c2fe94acf6e2..05c829441ad9 100644 --- a/pkgs/games/crack-attack/default.nix +++ b/pkgs/games/crack-attack/default.nix @@ -13,7 +13,11 @@ stdenv.mkDerivation { ./crack-attack-1.1.14-glut.patch ]; - configureFlags = [ "--enable-sound=yes" ]; + configureFlags = [ + "--enable-sound=yes" + "--prefix=${placeholder "out"}" + "--datadir=${placeholder "out"}/share" + ]; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ gtk2 freeglut SDL SDL_mixer libGLU libGL libXi libXmu ]; |