rexit: add openssl and pkg-config for linux
This commit is contained in:
parent
d732a74c08
commit
eef6a87633
1 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs.stdenv) isDarwin;
|
inherit (pkgs.stdenv) isDarwin;
|
||||||
inherit (pkgs.stdenv) isLinux;
|
|
||||||
in
|
in
|
||||||
pkgs.rustPlatform.buildRustPackage {
|
pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "rexit";
|
pname = "rexit";
|
||||||
|
@ -19,15 +18,16 @@ pkgs.rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
libiconv
|
libiconv
|
||||||
|
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
|
||||||
]) ++ lib.optionals isLinux (with pkgs; [
|
|
||||||
openssl
|
|
||||||
pkg-config
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue