rust: add more sys overrides
This commit is contained in:
parent
93fedb03fe
commit
e0fccdcc8d
@ -3,7 +3,7 @@
|
|||||||
libsodium, postgresql, ... }:
|
libsodium, postgresql, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
cargo = attrs: {
|
cargo = attrs: {
|
||||||
@ -19,7 +19,8 @@ in
|
|||||||
crateBin = [ { name = "cargo-vendor"; path = "src/main.rs"; } ];
|
crateBin = [ { name = "cargo-vendor"; path = "src/main.rs"; } ];
|
||||||
};
|
};
|
||||||
curl-sys = attrs: {
|
curl-sys = attrs: {
|
||||||
buildInputs = [ pkgconfig curl ];
|
buildInputs = [ pkgconfig ];
|
||||||
|
propagatedBuiltInputs = [ curl ];
|
||||||
};
|
};
|
||||||
libgit2-sys = attrs: {
|
libgit2-sys = attrs: {
|
||||||
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||||
@ -69,4 +70,7 @@ in
|
|||||||
pq-sys = attr: {
|
pq-sys = attr: {
|
||||||
buildInputs = [ pkgconfig postgresql ];
|
buildInputs = [ pkgconfig postgresql ];
|
||||||
};
|
};
|
||||||
|
security-framework-sys = attr: {
|
||||||
|
propagatedBuildInputs = [ Security ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user