buildEmscriptenPackage: move EMCONFIGURE_JS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-03-23 12:17:22 +01:00
parent fdc7b8f7b3
commit 1f2a70b198
@@ -37,8 +37,10 @@ wrapDerivation (
]
++ nativeBuildInputs;
# fake conftest results with emscripten's python magic
EMCONFIGURE_JS = 2;
env = args.env or { } // {
# fake conftest results with emscripten's python magic
EMCONFIGURE_JS = 2;
};
# removes archive indices
dontStrip = args.dontStrip or true;