about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2020-01-16 05:21:09 +0000
committerAustin Seipp <aseipp@pobox.com>2020-02-04 19:30:40 -0600
commitdb3182a65d0c95afa197cb61c5be80e1c9a8278f (patch)
tree786c9f4560f8b3a6c454367830928126a3f62b34
parent6d1e9c08e04a4a9f7ab4937cb8c999cd6d912eef (diff)
downloadnixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.tar
nixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.tar.gz
nixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.tar.bz2
nixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.tar.lz
nixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.tar.xz
nixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.tar.zst
nixlib-db3182a65d0c95afa197cb61c5be80e1c9a8278f.zip
nginxModules.brotli: v0.1.2 -> unstable
The fork was merged back upstream but has yet to see a formal release.
-rw-r--r--pkgs/servers/http/nginx/modules.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix
index 78ad5c5582d8..b5282d862af6 100644
--- a/pkgs/servers/http/nginx/modules.nix
+++ b/pkgs/servers/http/nginx/modules.nix
@@ -20,14 +20,14 @@ in
 {
   brotli = {
     src = let gitsrc = pkgs.fetchFromGitHub {
-      owner = "eustas";
+      owner = "google";
       repo = "ngx_brotli";
-      rev = "v0.1.2";
-      sha256 = "19r9igxm4hrzrhxajlxw2ccq0057h8ipkfiif725x0xqbxjskl6c";
+      rev = "e505dce68acc190cc5a1e780a3b0275e39f160ca";
+      sha256 = "00j48lffki62y1nmjyy81iklw5nlyzvrjy3z04qch4fp3p57hwla";
     }; in pkgs.runCommandNoCC "ngx_brotli-src" {} ''
       cp -a ${gitsrc} $out
-      substituteInPlace $out/config \
-        --replace /usr/local ${lib.getDev pkgs.brotli}
+      substituteInPlace $out/filter/config \
+        --replace '$ngx_addon_dir/deps/brotli/c' ${lib.getDev pkgs.brotli}
     '';
     inputs = [ pkgs.brotli ];
   };