Skip to content

Commit

Permalink
stellarium: make qtwebengine an optional dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kilianar committed Oct 18, 2024
1 parent 01eb8df commit b680c0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/applications/science/astronomy/stellarium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
, nlopt
, testers
, xvfb-run
, withQtWebEngine ? !stdenv.hostPlatform.isDarwin
}:

stdenv.mkDerivation (finalAttrs: {
Expand Down Expand Up @@ -65,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: {
qtpositioning
qtmultimedia
qtserialport
qtwebengine
calcmysky
qxlsx
indilib
Expand All @@ -74,6 +74,8 @@ stdenv.mkDerivation (finalAttrs: {
nlopt
] ++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland
] ++ lib.optionals withQtWebEngine [
qtwebengine
];

preConfigure = ''
Expand Down

0 comments on commit b680c0f

Please sign in to comment.