wxGTK31: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-09 02:48:56 +01:00
parent a047ff75df
commit 0cd404e77a

View File

@@ -89,9 +89,12 @@ stdenv.mkDerivation (finalAttrs: {
"--enable-webviewwebkit"
];
SEARCH_LIB = lib.optionalString (
!stdenv.hostPlatform.isDarwin
) "${libGLU.out}/lib ${libGL.out}/lib ";
env = lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) {
SEARCH_LIB = toString [
"${libGLU.out}/lib"
"${libGL.out}/lib"
];
};
preConfigure = ''
substituteInPlace configure --replace \