fix nph build and check

This commit is contained in:
Ivan FB 2026-03-26 19:17:16 +01:00
parent 50538867b4
commit 29b00f1ced
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -17,7 +17,7 @@ endif
# NIM binary location
NIM_BINARY := $(shell which nim)
NPH := $(shell dirname $(NIM_BINARY))/nph
NPH := $(CURDIR)/nimbledeps/bin/nph
# Compilation parameters
NIM_PARAMS ?=
@ -267,7 +267,7 @@ networkmonitor: | build deps librln
build-nph: | build deps
nimble install nph@0.7.0 -y
echo "Check if nph utility is available:"
command -v nph
PATH="$(CURDIR)/nimbledeps/bin:$$PATH" command -v nph
GIT_PRE_COMMIT_HOOK := .git/hooks/pre-commit