From 5c70c5eeaa275aae90e1d3e5b63a6fdcf29bc850 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sun, 16 Aug 2020 15:40:38 +0300 Subject: [PATCH] nginxModules: renamed module ngx_aws_auth to aws-auth --- nixos/doc/manual/release-notes/rl-2009.xml | 1 + pkgs/servers/http/nginx/modules.nix | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml index 7485a6e7c10c..5a180f7a7603 100644 --- a/nixos/doc/manual/release-notes/rl-2009.xml +++ b/nixos/doc/manual/release-notes/rl-2009.xml @@ -910,6 +910,7 @@ services.transmission.settings.rpc-bind-address = "0.0.0.0"; Nginx module nginxModules.fastcgi-cache-purge renamed to official name nginxModules.cache-purge. + Nginx module nginxModules.ngx_aws_auth renamed to official name nginxModules.aws-auth. diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index a14f500c62bc..983e0f41ee91 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -20,6 +20,17 @@ in { fastcgi-cache-purge = throw "fastcgi-cache-purge was renamed to cache-purge"; + ngx_aws_auth = throw "fastcgi-cache-purge was renamed to aws-auth"; + + aws-auth = { + src = fetchFromGitHub { + name = "aws-auth"; + owner = "anomalizer"; + repo = "ngx_aws_auth"; + rev = "2.1.1"; + sha256 = "10z67g40w7wpd13fwxyknkbg3p6hn61i4v8xw6lh27br29v1y6h9"; + }; + }; brotli = { src = let gitsrc = pkgs.fetchFromGitHub { @@ -223,16 +234,6 @@ in } + "/naxsi_src"; }; - ngx_aws_auth = { - src = fetchFromGitHub { - name = "ngx_aws_auth"; - owner = "anomalizer"; - repo = "ngx_aws_auth"; - rev = "2.1.1"; - sha256 = "10z67g40w7wpd13fwxyknkbg3p6hn61i4v8xw6lh27br29v1y6h9"; - }; - }; - opentracing = { src = let src' = fetchFromGitHub {