aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/installer/linker.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/installer/linker.lua')
-rw-r--r--lua/mason-core/installer/linker.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/mason-core/installer/linker.lua b/lua/mason-core/installer/linker.lua
index 0419f392..a1cc53d0 100644
--- a/lua/mason-core/installer/linker.lua
+++ b/lua/mason-core/installer/linker.lua
@@ -33,7 +33,7 @@ end
---@async
---@param context InstallContext
local function link_bin(context)
- local links = context.receipt.links.bin
+ local links = context.bin_links
local pkg = context.package
for name, rel_path in pairs(links) do
local target_abs_path = path.concat { pkg:get_install_path(), rel_path }
@@ -71,6 +71,7 @@ local function link_bin(context)
)
end,
}
+ context.receipt:with_link("bin", name, rel_path)
end
end