From b680c0f77a273dbe26fdca0b397105a53a798748 Mon Sep 17 00:00:00 2001 From: kilianar Date: Fri, 18 Oct 2024 11:20:50 +0200 Subject: [PATCH] stellarium: make qtwebengine an optional dependency This commit makes `qtwebengine` an optional dependency for stellarium. Since `qtwebengine` currently fails to build on Darwin, it is now disabled by default for that platform. --- pkgs/applications/science/astronomy/stellarium/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/astronomy/stellarium/default.nix b/pkgs/applications/science/astronomy/stellarium/default.nix index b97ac6cf97c25..a859f308e912b 100644 --- a/pkgs/applications/science/astronomy/stellarium/default.nix +++ b/pkgs/applications/science/astronomy/stellarium/default.nix @@ -22,6 +22,7 @@ , nlopt , testers , xvfb-run +, withQtWebEngine ? !stdenv.hostPlatform.isDarwin }: stdenv.mkDerivation (finalAttrs: { @@ -65,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: { qtpositioning qtmultimedia qtserialport - qtwebengine calcmysky qxlsx indilib @@ -74,6 +74,8 @@ stdenv.mkDerivation (finalAttrs: { nlopt ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland + ] ++ lib.optionals withQtWebEngine [ + qtwebengine ]; preConfigure = ''