Skip to content

Commit

Permalink
caddy: 0.10.9 -> 0.10.10
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Nov 1, 2017
1 parent f4e3822 commit 314979f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkgs/servers/caddy/default.nix
Expand Up @@ -2,7 +2,7 @@

buildGoPackage rec {
name = "caddy-${version}";
version = "0.10.9";
version = "0.10.10";

goPackagePath = "github.com/mholt/caddy";

Expand All @@ -12,19 +12,9 @@ buildGoPackage rec {
owner = "mholt";
repo = "caddy";
rev = "v${version}";
sha256 = "1shry7dqcbb5d3hp9xz5l3jx9a6i18wssz3m28kpjf3cks427v55";
sha256 = "1x7f1yz5vnsy9n50ak0vjrm4w8fqc1qvhv8fmqnsc8cgbp7f3p8w";
};

patches = [
# This header was added in 0.10.9 and was since reverted but no new release made
# remove this patch when updating to next release
(fetchpatch {
url = "https://github.com/mholt/caddy/commit/d267b62fe9fdd008f13774afc72d95335934d133.patch";
name = "revert-sponsors-header.patch";
sha256 = "192g23kzkrwgif7ii9c70mh1a25gwhm1l1mzyqm9i0d3jifsfc2j";
})
];

buildFlagsArray = ''
-ldflags=
-X github.com/mholt/caddy/caddy/caddymain.gitTag=v${version}
Expand Down

0 comments on commit 314979f

Please sign in to comment.