1
0
Fork 0

rexit: add openssl and pkg-config for linux

This commit is contained in:
Daniel Kempkens 2023-08-18 12:53:51 +02:00
parent eef6a87633
commit ff3a762c3a
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -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; {