mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
|
||||
, 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 New Issue
Block a user