Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

defaultCrateOverrides: foundationdb native dependencies

Signed-off-by: Austin Seipp <aseipp@pobox.com>

+15 -1
+15 -1
pkgs/build-support/rust/default-crate-overrides.nix
··· 1 1 { stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2, 2 2 openssl, sqlite, zlib, dbus, dbus-glib, gdk_pixbuf, cairo, python3, 3 - libsodium, postgresql, gmp, ... }: 3 + libsodium, postgresql, gmp, foundationdb, ... }: 4 4 5 5 let 6 6 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; ··· 32 32 33 33 dbus = attrs: { 34 34 buildInputs = [ pkgconfig dbus ]; 35 + }; 36 + 37 + foundationdb-sys = attrs: { 38 + buildInputs = [ foundationdb ]; 39 + # needed for 0.4+ release, when the FFI bindings are auto-generated 40 + # 41 + # patchPhase = '' 42 + # substituteInPlace ./foundationdb-sys/build.rs \ 43 + # --replace /usr/local/include ${foundationdb.dev}/include 44 + # ''; 45 + }; 46 + 47 + foundationdb = attrs: { 48 + buildInputs = [ foundationdb ]; 35 49 }; 36 50 37 51 gobject-sys = attrs: {