nginxModules.brotli: unstable-2020-04-23 -> unstable-2022-04-29
This commit is contained in:
parent
ebcca6e498
commit
f3e20dbfb0
1 changed files with 5 additions and 5 deletions
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue