libxml2: use python3 for build and as default for bindings

Changing the default may cause breakage, however, users should have
already switched to `pythonPackages.libxml2` long ago.
This commit is contained in:
Frederik Rietdijk
2019-06-15 20:32:23 +02:00
committed by Frederik Rietdijk
parent 0b32782d33
commit a51aa02c78
3 changed files with 6 additions and 7 deletions

View File

@@ -1,15 +1,12 @@
{ stdenv, lib, fetchurl
, zlib, xz, python2, ncurses, findXMLCatalogs
, zlib, xz, python, ncurses, findXMLCatalogs
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
, icuSupport ? false, icu ? null
, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
, enableStatic ? !enableShared,
}:
let
python = python2;
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "libxml2";
version = "2.9.9";