set nimble cache to pwd in Makefile

This commit is contained in:
Ivan FB 2026-04-03 22:24:02 +02:00
parent 1f10c9a28f
commit 75b9f26b1a
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -18,6 +18,10 @@ ifneq (,$(findstring MINGW,$(detected_OS)))
detected_OS := Windows
endif
# Use a local .nimble dir to avoid interfering with other Nim repos
export NIMBLE_DIR := $(CURDIR)/.nimble
export NIMBLE_PKGS_DIR := $(CURDIR)/.nimble/pkgs
# NIM binary location
NIM_BINARY := $(shell which nim)
NPH := $(CURDIR)/nimbledeps/bin/nph