From a511157233d503dc307f32985e396981bf7cc417 Mon Sep 17 00:00:00 2001 From: Spencer Whitt Date: Thu, 2 Apr 2015 20:46:09 -0400 Subject: [PATCH] rtmpdump: build on Darwin --- pkgs/tools/video/rtmpdump/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix index b64bedd720c..7a27f2ee1f9 100644 --- a/pkgs/tools/video/rtmpdump/default.nix +++ b/pkgs/tools/video/rtmpdump/default.nix @@ -22,7 +22,8 @@ stdenv.mkDerivation rec { makeFlags = [ ''prefix=$(out)'' ] ++ optional gnutlsSupport "CRYPTO=GNUTLS" - ++ optional opensslSupport "CRYPTO=OPENSSL"; + ++ optional opensslSupport "CRYPTO=OPENSSL" + ++ optional stdenv.isDarwin "CC=clang SYS=darwin"; buildInputs = [ zlib ] ++ optional gnutlsSupport gnutls @@ -32,7 +33,7 @@ stdenv.mkDerivation rec { description = "Toolkit for RTMP streams"; homepage = http://rtmpdump.mplayerhq.hu/; license = licenses.gpl2; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ codyopel viric ]; }; }