diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix index 471387320563..7411c161146e 100644 --- a/pkgs/games/openttd/default.nix +++ b/pkgs/games/openttd/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { prefixKey = "--prefix-dir="; configureFlags = [ - "--with-zlib=${zlib.out}/lib/libz.a" + "--with-zlib=${zlib.static}/lib/libz.a" "--without-liblzo2" ];