add customVersion flag
This commit is contained in:
parent
846db1bc9d
commit
9e4726ce84
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/caddyserver/caddy/v2.CustomVersion=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [pkgs.installShellFiles];
|
||||
|
|
Loading…
Reference in a new issue