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=";
|
||||
|
||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
libiconv
|
||||
openssl
|
||||
pkg-config
|
||||
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
Security
|
||||
]);
|
||||
|
||||
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue