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 = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
|
"-X github.com/caddyserver/caddy/v2.CustomVersion=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [pkgs.installShellFiles];
|
nativeBuildInputs = [pkgs.installShellFiles];
|
||||||
|
|
Loading…
Reference in a new issue