git-cola: only use qt5.qtwayland in Linux

Fix compilation on Darwin.

ZHF: #230712

+1 -1
+1 -1
pkgs/applications/version-management/git-cola/default.nix
··· 11 hash = "sha256-VAn4zXypOugPIVyXQ/8Yt0rCDM7hVdIY+jpmoTHqssU="; 12 }; 13 14 - buildInputs = [ qt5.qtwayland ]; 15 propagatedBuildInputs = with python3Packages; [ git pyqt5 qtpy send2trash ]; 16 nativeBuildInputs = [ gettext qt5.wrapQtAppsHook ]; 17 nativeCheckInputs = with python3Packages; [ git pytestCheckHook ];
··· 11 hash = "sha256-VAn4zXypOugPIVyXQ/8Yt0rCDM7hVdIY+jpmoTHqssU="; 12 }; 13 14 + buildInputs = lib.optionals stdenv.isLinux [ qt5.qtwayland ]; 15 propagatedBuildInputs = with python3Packages; [ git pyqt5 qtpy send2trash ]; 16 nativeBuildInputs = [ gettext qt5.wrapQtAppsHook ]; 17 nativeCheckInputs = with python3Packages; [ git pytestCheckHook ];