Unverified Commit f3e20dbf authored by Izorkin's avatar Izorkin
Browse files

nginxModules.brotli: unstable-2020-04-23 -> unstable-2022-04-29

parent ebcca6e4
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -102,15 +102,15 @@ let self = {

  brotli = {
    name = "brotli";
    src = let gitsrc = fetchFromGitHub {
    src = let src' = fetchFromGitHub {
      name = "brotli";
      owner = "google";
      repo = "ngx_brotli";
      rev = "25f86f0bac1101b6512135eac5f93c49c63609e3";
      sha256 = "02hfvfa6milj40qc2ikpb9f95sxqvxk4hly3x74kqhysbdi06hhv";
      rev = "6e975bcb015f62e1f303054897783355e2a877dc";
      sha256 = "sha256-G0IDYlvaQzzJ6cNTSGbfuOuSXFp3RsEwIJLGapTbDgo=";
    }; in
      runCommand "ngx_brotli-src" { } ''
        cp -a ${gitsrc} $out
      runCommand "brotli" { } ''
        cp -a ${src'} $out
        substituteInPlace $out/filter/config \
          --replace '$ngx_addon_dir/deps/brotli/c' ${lib.getDev brotli}
      '';