From 42d5dd68f85825b303ca349ab44a241faaa18f77 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Thu, 11 Jan 2018 23:14:35 -0400 Subject: [PATCH] youtube-dl: disable phantomjs support on darwin by default --- pkgs/tools/misc/youtube-dl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/youtube-dl/default.nix b/pkgs/tools/misc/youtube-dl/default.nix index 808858724e6..debfee34197 100644 --- a/pkgs/tools/misc/youtube-dl/default.nix +++ b/pkgs/tools/misc/youtube-dl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, buildPythonApplication +{ stdenv, targetPlatform, fetchurl, buildPythonApplication , zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc # Pandoc is required to build the package's man page. Release tarballs contain a # formatted man page already, though, it will still be installed. We keep the @@ -8,7 +8,7 @@ , generateManPage ? false , ffmpegSupport ? true , rtmpSupport ? true -, phantomjsSupport ? true +, phantomjsSupport ? !targetPlatform.isDarwin # phantomjs2 is broken on darwin , hlsEncryptedSupport ? true , makeWrapper }: