about summary refs log tree commit diff stats
path: root/nix
diff options
context:
space:
mode:
authorAlan Pearce2024-04-27 21:34:47 +0200
committerAlan Pearce2024-04-27 21:34:47 +0200
commita04ec2d5658a85913c81061636309893d96f0531 (patch)
treef7a1c2c17bee41d7734859b4ceca7727f8799b06 /nix
parent2a4c795d5a165f995e9f7dc84e07465b140f3770 (diff)
downloadwebsite-a04ec2d5658a85913c81061636309893d96f0531.tar.lz
website-a04ec2d5658a85913c81061636309893d96f0531.tar.zst
website-a04ec2d5658a85913c81061636309893d96f0531.zip
fix missing commit hashes in binary
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/default.nix b/nix/default.nix
index e818c5a..de427db 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -80,9 +80,9 @@ with pkgs; rec {
       "-s"
       "-w"
       "-X"
-      "main.CommitSHA=${fullSHA}"
+      "website/internal/server.CommitSHA=${fullSHA}"
       "-X"
-      "main.ShortSHA=${shortSHA}"
+      "website/internal/server.ShortSHA=${shortSHA}"
     ];
   };
   docker-stream = mkDockerStream { inherit server website; };