matchbox: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-07 14:15:58 +01:00
parent 6d61f4b9fa
commit b5c0c906a9
+6 -1
View File
@@ -15,7 +15,12 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libmatchbox ];
NIX_LDFLAGS = "-lX11 -L${libx11}/lib -lXext -L${libxext}/lib";
env.NIX_LDFLAGS = toString [
"-lX11"
"-L${libx11}/lib"
"-lXext"
"-L${libxext}/lib"
];
src = fetchurl {
url = "https://downloads.yoctoproject.org/releases/matchbox/matchbox-window-manager/${finalAttrs.version}/matchbox-window-manager-${finalAttrs.version}.tar.bz2";