From 97342642fcbf2f2d93e9cfa0c89acaa70f50848d Mon Sep 17 00:00:00 2001 From: Roland Hughes Date: Fri, 19 Jun 2026 16:37:12 -0500 Subject: issue 7576 Fixed XMAKE_PKG_CACHEDIR bug. Wasn't being passed to the child process. --- xmake/modules/package/tools/xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua index a49a9bf61..4efee0974 100644 --- a/xmake/modules/package/tools/xmake.lua +++ b/xmake/modules/package/tools/xmake.lua @@ -534,6 +534,7 @@ function install(package, configs, opt) if package:is_local() and not package:is_source_embed() then envs = table.clone(envs) envs.XMAKE_PKG_INSTALLDIR = package_core.installdir({localdir = true}) + envs.XMAKE_PKG_CACHEDIR = package_core.cachedir({localdir = true}) end -- pass local repositories -- cgit v1.3.1