Loading pkgs/by-name/od/odyssey/fix-missing-c-header.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line diff --git a/third_party/kiwi/kiwi.h b/third_party/kiwi/kiwi.h index d3bf4113..a8a2ad6e 100644 --- a/third_party/kiwi/kiwi.h +++ b/third_party/kiwi/kiwi.h @@ -15,6 +15,7 @@ #include <string.h> #include <pthread.h> #include <assert.h> +#include <ctype.h> #include <machinarium.h> #include "kiwi/macro.h" pkgs/by-name/od/odyssey/package.nix +5 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ stdenv.mkDerivation rec { url = "https://github.com/yandex/odyssey/commit/01ca5b345c4483add7425785c9c33dfa2c135d63.patch"; sha256 = "sha256-8UPkZkiI08ZZL6GShhug/5/kOVrmdqYlsD1bcqfxg/w="; }) # Fixes kiwi build. ./fix-missing-c-header.patch ]; nativeBuildInputs = [ cmake ]; Loading @@ -34,6 +36,9 @@ stdenv.mkDerivation rec { libpq zstd ]; env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int -Wno-error=incompatible-pointer-types"; cmakeFlags = [ "-DBUILD_COMPRESSION=ON" "-DPOSTGRESQL_INCLUDE_DIR=${lib.getDev libpq}/include/postgresql/server" Loading Loading
pkgs/by-name/od/odyssey/fix-missing-c-header.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line diff --git a/third_party/kiwi/kiwi.h b/third_party/kiwi/kiwi.h index d3bf4113..a8a2ad6e 100644 --- a/third_party/kiwi/kiwi.h +++ b/third_party/kiwi/kiwi.h @@ -15,6 +15,7 @@ #include <string.h> #include <pthread.h> #include <assert.h> +#include <ctype.h> #include <machinarium.h> #include "kiwi/macro.h"
pkgs/by-name/od/odyssey/package.nix +5 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ stdenv.mkDerivation rec { url = "https://github.com/yandex/odyssey/commit/01ca5b345c4483add7425785c9c33dfa2c135d63.patch"; sha256 = "sha256-8UPkZkiI08ZZL6GShhug/5/kOVrmdqYlsD1bcqfxg/w="; }) # Fixes kiwi build. ./fix-missing-c-header.patch ]; nativeBuildInputs = [ cmake ]; Loading @@ -34,6 +36,9 @@ stdenv.mkDerivation rec { libpq zstd ]; env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int -Wno-error=incompatible-pointer-types"; cmakeFlags = [ "-DBUILD_COMPRESSION=ON" "-DPOSTGRESQL_INCLUDE_DIR=${lib.getDev libpq}/include/postgresql/server" Loading