rust: add more sys overrides
This commit is contained in:
parent
93fedb03fe
commit
e0fccdcc8d
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user