From 38d514513ce874d4850a3882dbf927e6c2986ee5 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 14 Apr 2020 08:59:21 +0100 Subject: [PATCH] crack-attack: Set correct game directories --- pkgs/games/crack-attack/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ];