1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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}\""