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 changed files with 2 additions and 13 deletions
|
@ -1,25 +1,14 @@
|
|||
{ callPackage
|
||||
, fetchhg
|
||||
, nginxMainline
|
||||
, ...
|
||||
} @ args:
|
||||
|
||||
callPackage ./generic.nix args {
|
||||
pname = "nginxQuic";
|
||||
|
||||
src = fetchhg {
|
||||
url = "https://hg.nginx.org/nginx-quic";
|
||||
rev = "0af598651e33"; # branch=quic
|
||||
hash = "sha256-rG0jXA+ci7anUxZCBhXZLZKwnTtzzDEAViuoImKpALA=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
ln -s auto/configure configure
|
||||
'';
|
||||
inherit (nginxMainline) src version;
|
||||
|
||||
configureFlags = [
|
||||
"--with-http_v3_module"
|
||||
"--with-stream_quic_module"
|
||||
];
|
||||
|
||||
version = "1.23.4";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue