tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
odyssey: fix build
alyaeanyx
8 months ago
a4bb668e
6b1a92f5
+17
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
od
odyssey
fix-missing-c-header.patch
package.nix
+12
pkgs/by-name/od/odyssey/fix-missing-c-header.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
···
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
url = "https://github.com/yandex/odyssey/commit/01ca5b345c4483add7425785c9c33dfa2c135d63.patch";
27
sha256 = "sha256-8UPkZkiI08ZZL6GShhug/5/kOVrmdqYlsD1bcqfxg/w=";
28
})
0
0
29
];
30
31
nativeBuildInputs = [ cmake ];
···
34
libpq
35
zstd
36
];
0
0
0
37
cmakeFlags = [
38
"-DBUILD_COMPRESSION=ON"
39
"-DPOSTGRESQL_INCLUDE_DIR=${lib.getDev libpq}/include/postgresql/server"
···
26
url = "https://github.com/yandex/odyssey/commit/01ca5b345c4483add7425785c9c33dfa2c135d63.patch";
27
sha256 = "sha256-8UPkZkiI08ZZL6GShhug/5/kOVrmdqYlsD1bcqfxg/w=";
28
})
29
+
# Fixes kiwi build.
30
+
./fix-missing-c-header.patch
31
];
32
33
nativeBuildInputs = [ cmake ];
···
36
libpq
37
zstd
38
];
39
+
40
+
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int -Wno-error=incompatible-pointer-types";
41
+
42
cmakeFlags = [
43
"-DBUILD_COMPRESSION=ON"
44
"-DPOSTGRESQL_INCLUDE_DIR=${lib.getDev libpq}/include/postgresql/server"