I'm (unfortunately) having to use Windows 11 currently, and I'm getting an issue when installing CopilotChat.nvim via Lazy in Neovim.
The makefile says:
ifeq ($(UNAME), Linux)
OS := linux
EXT := so
else ifeq ($(UNAME), Darwin)
OS := macOS
EXT := dylib
else ifeq ($(UNAME), Windows_NT)
OS := windows
EXT := dll
else
$(error Unsupported operating system: $(UNAME))
endif
But on my system, under Powershell, uname doesn't return Windows_NT, it returns MSYS_NT-10.0-26100
If I modify the OS check as follows, everything installs and works correctly:
ifeq ($(UNAME), Linux)
OS := linux
EXT := so
else ifeq ($(UNAME), Darwin)
OS := macOS
EXT := dylib
else ifeq ($(UNAME), Windows_NT)
OS := windows
EXT := dll
else ifneq ($(findstring MSYS_NT,$(UNAME)),)
OS := windows
EXT := dll
endif
Is this known about/documented anywhere?
I'm (unfortunately) having to use Windows 11 currently, and I'm getting an issue when installing CopilotChat.nvim via Lazy in Neovim.
The makefile says:
But on my system, under Powershell,
unamedoesn't returnWindows_NT, it returnsMSYS_NT-10.0-26100If I modify the OS check as follows, everything installs and works correctly:
Is this known about/documented anywhere?