summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-13 22:42:51 +0800
committerruki <[email protected]>2026-01-13 22:42:51 +0800
commit168ac0bc82ab76b3fec593a944dfd9d929971838 (patch)
treee0b6770a5ce22f9aa2a5e8ffb0281f590560d876 /xmake/core/package/package.lua
parente8ad981e1326c6fa47242c10ff64b4b794bcf215 (diff)
fix requirelocks
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index f6d7963b7..692be9ae8 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -3063,7 +3063,7 @@ function package.load_from_repository(packagename, packagedir, opt)
end
-- new an instance
- instance = _instance.new(packagename, packageinfo, {scriptdir = path.directory(scriptpath), repo = repo})
+ instance = _instance.new(packagename, packageinfo, {scriptdir = path.directory(scriptpath), repo = opt.repo})
-- reset plat/arch
if opt.plat then