mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-26 14:51:49 +00:00
Makefile: allow overriding GIT_VERSION with env
This is necessary for Nix builds because the sandbox there does not contain `.git` directory or `git` command. Also the quotes are pointless. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
612023fab0
commit
c615636885
2
Makefile
2
Makefile
@ -108,7 +108,7 @@ endif
|
||||
NIM_PARAMS := $(NIM_PARAMS) -d:discv5_protocol_id:d5waku
|
||||
|
||||
# git version for JSON RPC call
|
||||
GIT_VERSION := "$(shell git describe --abbrev=6 --always --tags)"
|
||||
GIT_VERSION ?= $(shell git describe --abbrev=6 --always --tags)
|
||||
NIM_PARAMS := $(NIM_PARAMS) -d:git_version:\"$(GIT_VERSION)\"
|
||||
|
||||
deps: | deps-common nat-libs waku.nims rlnlib rlnzerokitlib
|
||||
|
Loading…
x
Reference in New Issue
Block a user