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:
parent
8fb1d43344
commit
7f7f3da1c0
|
@ -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}\""
|
||||
|
|
Loading…
Reference in a new issue