From 7130bf3097c75ef852b9a8faec11794351d1b0aa Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 11 Sep 2024 23:02:54 +0300 Subject: [PATCH] jackaudio: only add `makeWrapper` when needed The `wrapProgram` usage is behind a conditional below --- pkgs/misc/jackaudio/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix index 54827497f846..53087942b933 100644 --- a/pkgs/misc/jackaudio/default.nix +++ b/pkgs/misc/jackaudio/default.nix @@ -39,7 +39,8 @@ stdenv.mkDerivation (finalAttrs: { outputs = [ "out" "dev" ]; - nativeBuildInputs = [ pkg-config python makeWrapper wafHook ]; + nativeBuildInputs = [ pkg-config python wafHook ] + ++ lib.optionals (optDbus != null) [ makeWrapper ]; buildInputs = [ libsamplerate libsndfile readline eigen celt optDbus optPythonDBus optLibffado optAlsaLib optLibopus ] ++ lib.optionals stdenv.hostPlatform.isDarwin [