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