From 9e4726ce840d57492f63060c1105d948a6288fe5 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 6 Dec 2024 22:55:29 +0530 Subject: [PATCH] add customVersion flag --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 5f85832..bc0e7b1 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ ldflags = [ "-s" "-w" + "-X github.com/caddyserver/caddy/v2.CustomVersion=${version}" ]; nativeBuildInputs = [pkgs.installShellFiles];