From 41c43b7c21427e0a86991ecfbd26383e78f15af9 Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Mon, 29 Sep 2025 17:05:50 -0400 Subject: [PATCH] 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. --- pkgs/development/libraries/fltk/1.4.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/fltk/1.4.nix b/pkgs/development/libraries/fltk/1.4.nix index ff8f8734926b..b6da2c585748 100644 --- a/pkgs/development/libraries/fltk/1.4.nix +++ b/pkgs/development/libraries/fltk/1.4.nix @@ -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