diff options
author | Nick Cao <nickcao@nichi.co> | 2024-01-05 14:25:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 14:25:40 -0500 |
commit | 13447fc1f09237f2dbd8d6822135cb0a77d8200b (patch) | |
tree | 6a9c97399991843e88473826a5ab082687cbc6e0 /pkgs | |
parent | bb2da89afc005c58fc605c3d25bf7cef37ef66ee (diff) | |
parent | 3c9153ebc0d7c7efb5e56344b0170bdefa2c37fc (diff) |
Merge pull request #278830 from azuwis/sslh
sslh: support darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/sslh/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/sslh/default.nix b/pkgs/servers/sslh/default.nix index 735054eb61a92..7c3cc4635e257 100644 --- a/pkgs/servers/sslh/default.nix +++ b/pkgs/servers/sslh/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, libcap, libev, libconfig, perl, tcp_wrappers, pcre2, nixosTests }: +{ lib, stdenv, fetchFromGitHub, libcap, libev, libconfig, perl, tcp_wrappers, pcre2, nixosTests }: stdenv.mkDerivation rec { pname = "sslh"; @@ -13,9 +13,9 @@ stdenv.mkDerivation rec { postPatch = "patchShebangs *.sh"; - buildInputs = [ libcap libev libconfig perl tcp_wrappers pcre2 ]; + buildInputs = [ libev libconfig perl pcre2 ] ++ lib.optionals stdenv.isLinux [ libcap tcp_wrappers ]; - makeFlags = [ "USELIBCAP=1" "USELIBWRAP=1" ]; + makeFlags = lib.optionals stdenv.isLinux [ "USELIBCAP=1" "USELIBWRAP=1" ]; postInstall = '' # install all flavours |