From 3ed9abe2660b1afda08add3396f59ef01d4f4b06 Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 11 Oct 2023 17:00:26 +0200 Subject: chore(compilers): remove default environment from github build compiler --- lua/mason-core/installer/compiler/compilers/github/build.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lua') diff --git a/lua/mason-core/installer/compiler/compilers/github/build.lua b/lua/mason-core/installer/compiler/compilers/github/build.lua index 22f3e3cc..77c3627f 100644 --- a/lua/mason-core/installer/compiler/compilers/github/build.lua +++ b/lua/mason-core/installer/compiler/compilers/github/build.lua @@ -19,13 +19,7 @@ function M.parse(source, purl, opts) local expr_ctx = { version = purl.version } - -- TODO: In a few releases of the core registry, r-languageserver reads $MASON_VERSION directly. Remove this - -- some time in the future. - local default_env = { - MASON_VERSION = purl.version, - } - build_instruction.env = - vim.tbl_extend("force", default_env, try(expr.tbl_interpolate(build_instruction.env or {}, expr_ctx))) + build_instruction.env = try(expr.tbl_interpolate(build_instruction.env or {}, expr_ctx)) ---@class ParsedGitHubBuildSource : ParsedPackageSource local parsed_source = { -- cgit v1.2.3-70-g09d2