From f1376ca33b3ab5ee5c0a02e2bae01f3da0e31c6b Mon Sep 17 00:00:00 2001 From: Fernando Rodrigues Date: Thu, 1 May 2025 17:16:31 -0300 Subject: [PATCH] libepoxy: propagate buildInputs Some packages that depend on libepoxy fail to build due to libGL and libX11 not being present during the build. One example is `qemu_xen` (or really any QEMU built with GL support), as it's built with libepoxy, which links against libGL, but since libGL isn't present, the build fails. Signed-off-by: Fernando Rodrigues --- pkgs/by-name/li/libepoxy/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libepoxy/package.nix b/pkgs/by-name/li/libepoxy/package.nix index 1a99df8bdf55..236b97dd0511 100644 --- a/pkgs/by-name/li/libepoxy/package.nix +++ b/pkgs/by-name/li/libepoxy/package.nix @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { python3 ]; - buildInputs = + propagatedBuildInputs = lib.optionals (x11Support && !stdenv.hostPlatform.isDarwin) [ libGL ]