diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix index 60ac5e2ccbe9..be57d0591005 100644 --- a/pkgs/development/libraries/libxml2/default.nix +++ b/pkgs/development/libraries/libxml2/default.nix @@ -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}\""