From 19dd115588667b1f4cff178ded84642b6a14f45a Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Sat, 18 May 2019 17:08:59 +0900 Subject: [PATCH] jackaudio: restrict aften dependency to Darwin --- pkgs/misc/jackaudio/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix index a7b3e5f0fdef..fb7c26a6d7ae 100644 --- a/pkgs/misc/jackaudio/default.nix +++ b/pkgs/misc/jackaudio/default.nix @@ -1,9 +1,9 @@ { stdenv, fetchFromGitHub, pkgconfig, python2Packages, makeWrapper , fetchpatch , bash, libsamplerate, libsndfile, readline, eigen, celt -, wafHook, aften +, wafHook # Darwin Dependencies -, AudioUnit, CoreAudio, cf-private, libobjc, Accelerate +, aften, AudioUnit, CoreAudio, cf-private, libobjc, Accelerate # Optional Dependencies , dbus ? null, libffado ? null, alsaLib ? null @@ -40,9 +40,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig python makeWrapper wafHook ]; buildInputs = [ libsamplerate libsndfile readline eigen celt optDbus optPythonDBus optLibffado optAlsaLib optLibopus - aften ] ++ optionals stdenv.isDarwin [ - AudioUnit CoreAudio Accelerate cf-private libobjc + aften AudioUnit CoreAudio Accelerate cf-private libobjc ]; prePatch = ''