nginxQuic: share src and version with nginxMainline
quic support was merged still a separate package, because it uses quictls and sets configureFlags
This commit is contained in:
parent
91ecb7d7ff
commit
27d53b81cc
@ -1,25 +1,14 @@
|
|||||||
{ callPackage
|
{ callPackage
|
||||||
, fetchhg
|
, nginxMainline
|
||||||
, ...
|
, ...
|
||||||
} @ args:
|
} @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix args {
|
callPackage ./generic.nix args {
|
||||||
pname = "nginxQuic";
|
pname = "nginxQuic";
|
||||||
|
|
||||||
src = fetchhg {
|
inherit (nginxMainline) src version;
|
||||||
url = "https://hg.nginx.org/nginx-quic";
|
|
||||||
rev = "0af598651e33"; # branch=quic
|
|
||||||
hash = "sha256-rG0jXA+ci7anUxZCBhXZLZKwnTtzzDEAViuoImKpALA=";
|
|
||||||
};
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
ln -s auto/configure configure
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-http_v3_module"
|
"--with-http_v3_module"
|
||||||
"--with-stream_quic_module"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
version = "1.23.4";
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user