nginx: change logs path
This commit is contained in:
@@ -16,10 +16,11 @@ callPackage ../nginx/generic.nix args rec {
|
||||
sha256 = "1a1la7vszv1parsnhphydblz64ffhycazncn3ividnvqg2mg735n";
|
||||
};
|
||||
|
||||
fixPatch = patch:
|
||||
runCommand "openresty-${patch.name}" { src = patch; } ''
|
||||
fixPatch = patch: let name = patch.name or (builtins.baseNameOf patch); in
|
||||
runCommand "openresty-${name}" { src = patch; } ''
|
||||
substitute $src $out \
|
||||
--replace "src/" "bundle/nginx-${nginxVersion}/src/"
|
||||
--replace "a/" "a/bundle/nginx-${nginxVersion}/" \
|
||||
--replace "b/" "b/bundle/nginx-${nginxVersion}/"
|
||||
'';
|
||||
|
||||
buildInputs = [ postgresql ];
|
||||
|
||||
Reference in New Issue
Block a user