rust: add more sys overrides

This commit is contained in:
Matthew Bauer 2018-05-17 11:09:33 -05:00
parent 93fedb03fe
commit e0fccdcc8d

View file

@ -3,7 +3,7 @@
libsodium, postgresql, ... }:
let
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
in
{
cargo = attrs: {
@ -19,7 +19,8 @@ in
crateBin = [ { name = "cargo-vendor"; path = "src/main.rs"; } ];
};
curl-sys = attrs: {
buildInputs = [ pkgconfig curl ];
buildInputs = [ pkgconfig ];
propagatedBuiltInputs = [ curl ];
};
libgit2-sys = attrs: {
LIBGIT2_SYS_USE_PKG_CONFIG = true;
@ -69,4 +70,7 @@ in
pq-sys = attr: {
buildInputs = [ pkgconfig postgresql ];
};
security-framework-sys = attr: {
propagatedBuildInputs = [ Security ];
};
}