diff options
| author | ruki <[email protected]> | 2025-05-18 21:38:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-05-18 21:38:37 +0800 |
| commit | f5b81965f5d2f9773ee7245e181ca2950f501453 (patch) | |
| tree | fde89fb6c563bf6f43886c31315730dfd9b61d50 | |
| parent | 9e7cafac7c9fb93137761cfc880b762a32b01b7f (diff) | |
fix xrepo/envs #6430
| -rw-r--r-- | xmake/includes/xrepo/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/xrepo/xmake.lua b/xmake/includes/xrepo/xmake.lua index 2810dc5a8..4a9fe6494 100644 --- a/xmake/includes/xrepo/xmake.lua +++ b/xmake/includes/xrepo/xmake.lua @@ -32,7 +32,7 @@ -- @endcode -- function xrepo_addenvs(envs) - local packagename = "__xrepo_addenvs_" .. hash.strhash32(tostring(envs)) + local packagename = "__xrepo_addenvs_" .. hash.strhash32(string.serialize(envs)) package(packagename) on_load(function (package) if type(envs) == "function" then |
