libxml2: allow building with deprecated HTTP support

This commit is contained in:
K900 2024-07-27 09:48:57 +03:00
parent 8fb1d43344
commit 7f7f3da1c0

View File

@ -20,6 +20,7 @@
, enableStatic ? !enableShared
, gnome
, testers
, enableHttp ? false
}:
stdenv.mkDerivation (finalAttrs: {
@ -87,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.withFeature icuSupport "icu")
(lib.withFeature pythonSupport "python")
(lib.optionalString pythonSupport "PYTHON=${python.pythonOnBuildForHost.interpreter}")
];
] ++ lib.optional enableHttp "--with-http";
installFlags = lib.optionals pythonSupport [
"pythondir=\"${placeholder "py"}/${python.sitePackages}\""