aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-10-11 17:00:26 +0200
committerWilliam Boman <william@redwill.se>2025-02-19 09:23:19 +0100
commit3ed9abe2660b1afda08add3396f59ef01d4f4b06 (patch)
treee07423ffc10057a0f9590435607cf1502f22b14f /lua
parentrefactor!: refactor installer internals and add new Package class methods (#1... (diff)
downloadmason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.tar
mason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.tar.gz
mason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.tar.bz2
mason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.tar.lz
mason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.tar.xz
mason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.tar.zst
mason-3ed9abe2660b1afda08add3396f59ef01d4f4b06.zip
chore(compilers): remove default environment from github build compiler
Diffstat (limited to 'lua')
-rw-r--r--lua/mason-core/installer/compiler/compilers/github/build.lua8
1 files changed, 1 insertions, 7 deletions
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 = {