Hey nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s I'm trying to build notedeck on a linux box and seeing this error. Is there a place where you have answered this before or do you recognize it?

error: environment variable `GIT_COMMIT_HASH` not defined at compile time

Reply to this note

Please Login to reply.

Discussion

try cloning it from git

will do

That worked, thanks 👍

You can just set that variable when building. It can be any string.

GIT_COMMIT_HASH=blicbloc cargo run --release

we should fix this though, didn't realize so many people built from the zip

trying a new Linux build so I hadn't set up git on here, if the build instructions have that command fiatjaf noted it may solve the issue for zip peeps

I just ran what was on there

Got it, thank you. Will try this next if cloning from git doesn't work