Skip to content
Unverified Commit 1f24685d authored by aszlig's avatar aszlig
Browse files

nginx/etag-patch: Use Nix store dir from build env



So far, the Nix store directory was hardcoded and if someone uses a
different Nix store directory the patch won't work. Of course, this is
pretty uncommon, but by not only substituting the store directory but
also the length of it we also save a few calls to ngx_strlen(), which
should save us a few cycles.

Signed-off-by: default avataraszlig <aszlig@nix.build>
parent d5332852
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment