libvncserver: fix darwin build

This commit is contained in:
Stéphan Kochen
2021-05-17 14:13:50 -07:00
committed by Jonathan Ringer
parent aba67c5de5
commit 0776eae5ae
2 changed files with 8 additions and 5 deletions
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchzip, fetchpatch, cmake
, libjpeg, openssl, zlib, libgcrypt, libpng
, systemd
, systemd, Carbon
}:
let
@@ -19,10 +19,11 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ cmake ];
buildInputs = [
libjpeg openssl libgcrypt libpng
] ++ lib.optional stdenv.isLinux systemd;
buildInputs = [ libjpeg openssl libgcrypt libpng ]
++ lib.optional stdenv.isLinux systemd
++ lib.optional stdenv.isDarwin Carbon;
propagatedBuildInputs = [ zlib ];
meta = {
inherit (s) version;
description = "VNC server library";