summary refs log tree commit diff
path: root/pkgs/games/zod/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/zod/default.nix')
-rw-r--r--pkgs/games/zod/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/zod/default.nix b/pkgs/games/zod/default.nix
index 0b344873734..0d55f1cd13e 100644
--- a/pkgs/games/zod/default.nix
+++ b/pkgs/games/zod/default.nix
@@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
     sourceRoot=`pwd`/src
   '';
 
-  buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer mysql
+  buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer mysql.lib
     makeWrapper ];
 
-  NIX_LDFLAGS="-L${mysql}/lib/mysql";
+  NIX_LDFLAGS="-L${mysql.lib}/lib/mysql";
 
   installPhase = ''
     mkdir -p $out/bin $out/share/zod