Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 3, 2024
1 parent f88d1ae commit 45cd2bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/dotvim/utils/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function M.which(name)
end

-- nixos should not try to resolve binaries from mason
if M.nix.is_nixos then
if M.nix.is_nixos() then
return name
end

Expand Down
2 changes: 1 addition & 1 deletion lua/dotvim/utils/nix.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ end)
M.resolve_bin = function(name)
assume_data_loaded()
return resolve_bin_cache:ensure(name, function()
local bin = nix_aware.bin[name]
local bin = vim.tbl_get(nix_aware,"bin", name)
if bin then
return bin
end
Expand Down

0 comments on commit 45cd2bf

Please sign in to comment.