defaultCrateOverrides: foundationdb native dependencies
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
d97702e03f
commit
04a543b3a0
1 changed files with 15 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2,
|
||||
openssl, sqlite, zlib, dbus, dbus-glib, gdk_pixbuf, cairo, python3,
|
||||
libsodium, postgresql, gmp, ... }:
|
||||
libsodium, postgresql, gmp, foundationdb, ... }:
|
||||
|
||||
let
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
|
@ -34,6 +34,20 @@ in
|
|||
buildInputs = [ pkgconfig dbus ];
|
||||
};
|
||||
|
||||
foundationdb-sys = attrs: {
|
||||
buildInputs = [ foundationdb ];
|
||||
# needed for 0.4+ release, when the FFI bindings are auto-generated
|
||||
#
|
||||
# patchPhase = ''
|
||||
# substituteInPlace ./foundationdb-sys/build.rs \
|
||||
# --replace /usr/local/include ${foundationdb.dev}/include
|
||||
# '';
|
||||
};
|
||||
|
||||
foundationdb = attrs: {
|
||||
buildInputs = [ foundationdb ];
|
||||
};
|
||||
|
||||
gobject-sys = attrs: {
|
||||
buildInputs = [ dbus-glib ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue