about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tools/nixery/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix
index 6c0226f2fb04..b5575be50765 100644
--- a/tools/nixery/default.nix
+++ b/tools/nixery/default.nix
@@ -21,11 +21,9 @@ with pkgs;
 let
   inherit (pkgs) buildGoModule;
 
-  # Current Nixery commit - this is used as the Nixery version in
-  # builds to distinguish errors between deployed versions, see
-  # server/logs.go for details.
-  gitDir = if builtins.pathExists ./.git then ./.git else ../../.git;
-  nixery-commit-hash = args.commitHash or pkgs.lib.commitIdFromGitRepo gitDir;
+  # Avoid extracting this from git until we have a way to plumb
+  # through revision numbers.
+  nixery-commit-hash = "depot";
 
   # Go implementation of the Nixery server which implements the
   # container registry interface.