qt54.qtbase: don't propagate extra Mesa dependency
The note accompanying this dependency says "it's small and doesn't remain a runtime-dep if not used," but *neither* of those statements is true.
This commit is contained in:
parent
a6fd9e9be6
commit
4ed8d5d125
|
@ -14,7 +14,7 @@
|
||||||
, mysql ? null, postgresql ? null
|
, mysql ? null, postgresql ? null
|
||||||
|
|
||||||
# options
|
# options
|
||||||
, mesaSupported, mesa, mesa_glu
|
, mesaSupported, mesa
|
||||||
, buildDocs ? false
|
, buildDocs ? false
|
||||||
, buildExamples ? false
|
, buildExamples ? false
|
||||||
, buildTests ? false
|
, buildTests ? false
|
||||||
|
@ -185,9 +185,7 @@ stdenv.mkDerivation {
|
||||||
zlib libjpeg libpng libtiff sqlite icu
|
zlib libjpeg libpng libtiff sqlite icu
|
||||||
xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon
|
xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon
|
||||||
]
|
]
|
||||||
# Qt doesn't directly need GLU (just GL), but many apps use, it's small and
|
++ lib.optional mesaSupported mesa;
|
||||||
# doesn't remain a runtime-dep if not used
|
|
||||||
++ lib.optionals mesaSupported [ mesa mesa_glu ];
|
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ bison flex gperf ruby ]
|
[ bison flex gperf ruby ]
|
||||||
|
|
Loading…
Reference in New Issue