Skip to content

Commit f5b8196

Browse files
committed
fix xrepo/envs #6430
1 parent 9e7cafa commit f5b8196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/includes/xrepo/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
-- @endcode
3333
--
3434
function xrepo_addenvs(envs)
35-
local packagename = "__xrepo_addenvs_" .. hash.strhash32(tostring(envs))
35+
local packagename = "__xrepo_addenvs_" .. hash.strhash32(string.serialize(envs))
3636
package(packagename)
3737
on_load(function (package)
3838
if type(envs) == "function" then

0 commit comments

Comments
 (0)