odyssey: fix build

alyaeanyx a4bb668e 6b1a92f5

+17
+12
pkgs/by-name/od/odyssey/fix-missing-c-header.patch
··· 1 + diff --git a/third_party/kiwi/kiwi.h b/third_party/kiwi/kiwi.h 2 + index d3bf4113..a8a2ad6e 100644 3 + --- a/third_party/kiwi/kiwi.h 4 + +++ b/third_party/kiwi/kiwi.h 5 + @@ -15,6 +15,7 @@ 6 + #include <string.h> 7 + #include <pthread.h> 8 + #include <assert.h> 9 + +#include <ctype.h> 10 + #include <machinarium.h> 11 + 12 + #include "kiwi/macro.h"
+5
pkgs/by-name/od/odyssey/package.nix
··· 26 26 url = "https://github.com/yandex/odyssey/commit/01ca5b345c4483add7425785c9c33dfa2c135d63.patch"; 27 27 sha256 = "sha256-8UPkZkiI08ZZL6GShhug/5/kOVrmdqYlsD1bcqfxg/w="; 28 28 }) 29 + # Fixes kiwi build. 30 + ./fix-missing-c-header.patch 29 31 ]; 30 32 31 33 nativeBuildInputs = [ cmake ]; ··· 34 36 libpq 35 37 zstd 36 38 ]; 39 + 40 + env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int -Wno-error=incompatible-pointer-types"; 41 + 37 42 cmakeFlags = [ 38 43 "-DBUILD_COMPRESSION=ON" 39 44 "-DPOSTGRESQL_INCLUDE_DIR=${lib.getDev libpq}/include/postgresql/server"