diff options
| author | ruki <[email protected]> | 2025-01-09 00:50:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-09 00:50:52 +0800 |
| commit | ed685ecd74c5267781713f3bd00ce4e4e40b27d7 (patch) | |
| tree | 3e3e9bee672f1570ac4712edb31c2fd2d5abb27d /xmake/core/package/package.lua | |
| parent | a74774a809de30e6e473157233aa47bbabb272d4 (diff) | |
add namespace to sandbox
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index bb12282e1..741ca318c 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -2945,7 +2945,7 @@ function package.load_from_system(packagename) end -- make sandbox instance with the given script - instance, errors = sandbox.new(on_install, interp:filter()) + instance, errors = sandbox.new(on_install, {filter = interp:filter(), namespace = interp:namespace()}) if not instance then return nil, errors end |
