From 29b00f1cedcc297b688e06c9c08eacca7a7772b7 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Thu, 26 Mar 2026 19:17:16 +0100 Subject: [PATCH] fix nph build and check --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 75361aea6..39506e4ba 100644 --- a/Makefile +++ b/Makefile @@ -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