From 4bb1c4677d97eff6408bd9c0be58e32f075d6aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Tue, 18 May 2021 16:33:26 +0200 Subject: [PATCH] rdesktop: fix darwin build (#123498) --- pkgs/applications/networking/remote/rdesktop/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/remote/rdesktop/default.nix b/pkgs/applications/networking/remote/rdesktop/default.nix index acf1d7cc2d2..e2ee9428ad2 100644 --- a/pkgs/applications/networking/remote/rdesktop/default.nix +++ b/pkgs/applications/networking/remote/rdesktop/default.nix @@ -1,4 +1,5 @@ -{lib, stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1, nettle, gnutls, pkg-config, autoreconfHook +{ lib, stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1 +, nettle, gnutls, pkg-config, autoreconfHook, libiconv , enableCredssp ? (!stdenv.isDarwin) } : @@ -15,7 +16,8 @@ stdenv.mkDerivation (rec { nativeBuildInputs = [pkg-config autoreconfHook]; buildInputs = [openssl libX11 libXcursor libtasn1 nettle gnutls] - ++ lib.optional enableCredssp krb5; + ++ lib.optional enableCredssp krb5 + ++ lib.optional stdenv.isDarwin libiconv; configureFlags = [ "--with-ipv6"