version: use commitIdFromGitRepo rather than just reading HEAD

This commit is contained in:
Luke Granger-Brown 2024-12-29 22:18:09 +00:00
parent 6480ac8765
commit 02dfcb17d5

View file

@ -4,4 +4,4 @@
{ lib, ... }:
"depot-" + lib.trim (builtins.readFile .git/HEAD)
"depot-" + lib.commitIdFromGitRepo ./.git