version: use commitIdFromGitRepo rather than just reading HEAD
All checks were successful
/ generate-targets (push) Successful in 1m23s
/ build (push) Successful in 2m4s
/ build-machine (push) Successful in 1m39s

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