Skip to content

Commit ba913ed

Browse files
committed
caddy: 2.7.6 -> 2.8.4
Starting with v2.8.0, Caddy recommends building with the `nobadger` build tag. The build tag makes go skip the compilation of the badger-db implementation from smallstep/nosql, as it isn't used by Caddy and thus slightly shrinks the resulting binary size. https://github.com/caddyserver/caddy/releases/tag/v2.8.4 https://github.com/caddyserver/caddy/releases/tag/v2.8.3 https://github.com/caddyserver/caddy/releases/tag/v2.8.2 https://github.com/caddyserver/caddy/releases/tag/v2.8.1 https://github.com/caddyserver/caddy/releases/tag/v2.8.0 diff: caddyserver/caddy@v2.7.6...v2.8.4
1 parent 5f6ccfa commit ba913ed

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pkgs/by-name/ca/caddy/package.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
, stdenv
99
}:
1010
let
11-
version = "2.7.6";
11+
version = "2.8.4";
1212
dist = fetchFromGitHub {
1313
owner = "caddyserver";
1414
repo = "dist";
1515
rev = "v${version}";
16-
hash = "sha256-aZ7hdAZJH1PvrX9GQLzLquzzZG3LZSKOvt7sWQhTiR8=";
16+
hash = "sha256-O4s7PhSUTXoNEIi+zYASx8AgClMC5rs7se863G6w+l0=";
1717
};
1818
in
1919
buildGoModule {
@@ -24,10 +24,10 @@ buildGoModule {
2424
owner = "caddyserver";
2525
repo = "caddy";
2626
rev = "v${version}";
27-
hash = "sha256-th0R3Q1nGT0q5PGOygtD1/CpJmrT5TYagrwQR4t/Fvg=";
27+
hash = "sha256-CBfyqtWp3gYsYwaIxbfXO3AYaBiM7LutLC7uZgYXfkQ=";
2828
};
2929

30-
vendorHash = "sha256-ebnSehuhbCY58ctM8IRVMfNxxbJBp6ht9cbuLdGFNek=";
30+
vendorHash = "sha256-1Api8bBZJ1/oYk4ZGIiwWCSraLzK9L+hsKXkFtk6iVM=";
3131

3232
subPackages = [ "cmd/caddy" ];
3333

@@ -36,6 +36,9 @@ buildGoModule {
3636
"-X github.com/caddyserver/caddy/v2.CustomVersion=${version}"
3737
];
3838

39+
# matches upstream since v2.8.0
40+
tags = [ "nobadger" ];
41+
3942
nativeBuildInputs = [ installShellFiles ];
4043

4144
postInstall = ''

0 commit comments

Comments
 (0)