nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 17 lines 513 B view raw
1diff --git a/src/views/about.nim b/src/views/about.nim 2index e7e8de9..54a6050 100644 3--- a/src/views/about.nim 4+++ b/src/views/about.nim 5@@ -3,10 +3,8 @@ import os, strformat 6 import karax/[karaxdsl, vdom] 7 8 const 9- date = staticExec("git show -s --format=\"%cd\" --date=format:\"%Y.%m.%d\"") 10- hash = staticExec("git show -s --format=\"%h\"") 11- link = "https://github.com/zedeus/nitter/commit/" & hash 12- version = &"{date}-{hash}" 13+ link = "@url@" 14+ version = "@version@-@rev@" 15 16 var aboutHtml: string 17