curl-sys: fix linking against zlib
This commit is contained in:
parent
c0e2f7bbbe
commit
aa1d7961e7
|
@ -19,8 +19,9 @@ 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 zlib ];
|
buildInputs = [ pkgconfig zlib curl ];
|
||||||
propagatedBuiltInputs = [ curl ];
|
propagatedBuildInputs = [ curl zlib ];
|
||||||
|
extraLinkFlags = ["-L${zlib.out}/lib"];
|
||||||
};
|
};
|
||||||
libgit2-sys = attrs: {
|
libgit2-sys = attrs: {
|
||||||
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||||
|
|
Loading…
Reference in New Issue