jackaudio: only add makeWrapper when needed

The `wrapProgram` usage is behind a conditional below
This commit is contained in:
Artturin 2024-09-11 23:02:54 +03:00
parent 540d99b6ca
commit 7130bf3097

View File

@ -39,7 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "out" "dev" ]; 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 buildInputs = [ libsamplerate libsndfile readline eigen celt
optDbus optPythonDBus optLibffado optAlsaLib optLibopus optDbus optPythonDBus optLibffado optAlsaLib optLibopus
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin [