From 2c051577b7299475b0ee1e009c7aac6d39a81079 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 27 Oct 2024 01:33:00 +0100 Subject: [PATCH] fix(mise/tools): install sccache via cargo backend to fix build issues When mise's cargo backend needs to compile from source, it seemingly fails to find the `sccache` binary if it was installed via ubi or asdf backends. Via the cargo backend, or if manually installed via cargo, it does find it however. --- config/mise/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mise/config.toml b/config/mise/config.toml index 16a937a..4748c5c 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -20,6 +20,7 @@ show_tools = false "cargo:hexyl" = "latest" "cargo:kubectl-watch" = "latest" "cargo:paper-terminal" = "latest" +"cargo:sccache" = "latest" "cargo:tlrc" = "latest" "go:github.com/go-delve/delve/cmd/dlv" = "latest" "go:github.com/hashicorp/terraform-ls" = "latest" @@ -73,7 +74,6 @@ show_tools = false "ubi:junegunn/fzf" = "latest" # fzf "ubi:jwt-rs/jwt-ui" = { version = "latest", exe = "jwtui" } # jwtui "ubi:mike-engel/jwt-cli" = { version = "latest", exe = "jwt" } # jwt -"ubi:mozilla/sccache" = "latest" # sccache "ubi:mvdan/gofumpt" = "latest" # gofumpt "ubi:nametake/golangci-lint-langserver" = "latest" # golangci-lint-langserver "ubi:opentofu/opentofu" = { version = "latest", exe = "tofu" } # tofu