From eef6a87633f5fbef09f08e54d272ccd1ce043549 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 18 Aug 2023 12:49:07 +0200 Subject: [PATCH] rexit: add openssl and pkg-config for linux --- packages/rexit.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rexit.nix b/packages/rexit.nix index b8047e3..c4a92ae 100644 --- a/packages/rexit.nix +++ b/packages/rexit.nix @@ -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; {