Monorepo for Tangled tangled.org
815
fork

Configure Feed

Select the types of activity you want to include in your feed.

nix flake doesn't build knotserver with version information #133

open opened by yemou.pink

The nix flake is missing the ldflags to add the version information. There isn't a way to a way to run git describe inside the nix flake afaik since the .git folder is removed when being copied into the nix store but from a nix flake we can access the current commit using self.rev, self.shortRev, and self.revCount. This doesn't give us the git tag however so tag would need to be specified elsewhere.

ah yeah, i think the simplest way forward here is to use the derivations' version; or emit a .version file in the unpack phase maybe?

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:3sk3ef72ac36w44kvr3ki5q7/sh.tangled.repo.issue/3lm4gi2pdfh22