mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +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
37c0b199e4
commit
7d32fe3005
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