gtk-frdp: fix build on darwin

This commit is contained in:
Weijia Wang 2022-10-15 18:33:14 +02:00
parent 49bcb8429f
commit 45d6484104

View file

@ -44,6 +44,11 @@ stdenv.mkDerivation rec {
};
};
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin [
"-DTARGET_OS_IPHONE=0"
"-DTARGET_OS_WATCH=0"
];
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/gtk-frdp";
description = "RDP viewer widget for GTK";