fltk14: add libdecor to buildInputs

FLTK_USE_SYSTEM_LIBDECOR is set, but it is not adhered to because libdecor is
not provided in the build environment. This causes FLTK to use bundled libdecor,
which causes an unexpected link-time dependency on GTK+3, which causes a lot of
issues.

Fix this by adding libdecor to the build environment.
This commit is contained in:
John Chadwick
2025-09-29 17:05:50 -04:00
parent 870c04f7d1
commit 41c43b7c21

View File

@@ -41,6 +41,7 @@
wayland-protocols,
libxkbcommon,
wayland-scanner,
libdecor,
withExamples ? (stdenv.buildPlatform == stdenv.hostPlatform),
@@ -118,6 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
wayland
wayland-protocols
libxkbcommon
libdecor
]
++ lib.optionals withCairo [
cairo