fix nix build and add back version

This commit is contained in:
Daylin Morgan 2024-11-13 13:17:41 -06:00
parent 1055b0ae34
commit 4a91ce99a7
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 6 additions and 3 deletions

View file

@ -3,12 +3,12 @@
"packages": { "packages": {
"hwylterm": { "hwylterm": {
"version": "0.1.0", "version": "0.1.0",
"vcsRevision": "2a5dce888d7abf5409a62208d951ac3a4e6babfa", "vcsRevision": "cbeefd675c0884feebad4dc62910092519f8b2ed",
"url": "https://github.com/daylinmorgan/hwylterm", "url": "https://github.com/daylinmorgan/hwylterm",
"downloadMethod": "git", "downloadMethod": "git",
"dependencies": [], "dependencies": [],
"checksums": { "checksums": {
"sha1": "56afeceb88973f730111cfa7d02aef2d0cf88197" "sha1": "4d043352ad07388d0181c0fd4cf325317e9306d0"
} }
}, },
"illwill": { "illwill": {

View file

@ -12,6 +12,9 @@ proc tsm(open: bool = false) =
else: else:
tmux.attach project.name tmux.attach project.name
const tsmVersion {.strDefine.} =
staticExec "git describe --tags --always HEAD --match 'v*'"
hwylCli: hwylCli:
name "tsm" name "tsm"
V tsmVersion V tsmVersion

View file

@ -12,6 +12,6 @@ binDir = "bin"
requires "nim >= 2.0.0" requires "nim >= 2.0.0"
requires "illwill >= 0.4.1" requires "illwill >= 0.4.1"
requires "https://github.com/daylinmorgan/hwylterm#2a5dce88" requires "https://github.com/daylinmorgan/hwylterm#cbeefd67"
requires "https://github.com/usu-dev/usu-nim" requires "https://github.com/usu-dev/usu-nim"