1
0
Fork 0

rexit: add openssl and pkg-config for linux

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

View file

@ -2,7 +2,6 @@
let
inherit (pkgs.stdenv) isDarwin;
inherit (pkgs.stdenv) isLinux;
in
pkgs.rustPlatform.buildRustPackage {
pname = "rexit";
@ -19,15 +18,16 @@ pkgs.rustPlatform.buildRustPackage {
buildInputs = with pkgs; [
libiconv
openssl
pkg-config
] ++ lib.optionals isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
CoreFoundation
CoreServices
Security
]) ++ lib.optionals isLinux (with pkgs; [
openssl
pkg-config
]);
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
doCheck = false;
meta = with lib; {