mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00: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 New Issue
Block a user