From 02dfcb17d58d25aeccb06566da8ee198e33d0de0 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 29 Dec 2024 22:18:09 +0000 Subject: [PATCH] version: use commitIdFromGitRepo rather than just reading HEAD --- version.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.nix b/version.nix index 485f9589d8..e20f271b43 100644 --- a/version.nix +++ b/version.nix @@ -4,4 +4,4 @@ { lib, ... }: -"depot-" + lib.trim (builtins.readFile .git/HEAD) +"depot-" + lib.commitIdFromGitRepo ./.git