rexit: add openssl and pkg-config for linux
This commit is contained in:
parent
eef6a87633
commit
ff3a762c3a
1 changed files with 2 additions and 3 deletions
|
@ -16,18 +16,17 @@ pkgs.rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
cargoSha256 = "sha256-HZJZ15bPV/CW6w2T5ALVsp2ngLU/5B0Vjn5n/kSatp4=";
|
cargoSha256 = "sha256-HZJZ15bPV/CW6w2T5ALVsp2ngLU/5B0Vjn5n/kSatp4=";
|
||||||
|
|
||||||
|
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
libiconv
|
libiconv
|
||||||
openssl
|
openssl
|
||||||
pkg-config
|
|
||||||
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||||
CoreFoundation
|
CoreFoundation
|
||||||
CoreServices
|
CoreServices
|
||||||
Security
|
Security
|
||||||
]);
|
]);
|
||||||
|
|
||||||
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue