libxml2: cap MACOSX_DEPLOYMENT_TARGET at 10.16

libxml2 is used in bootstrapping, so the alternates solution of
running libtoolize is tricky here.
launchpad/nixpkgs/master
Andrew Childs 3 years ago
parent aadc07a3d9
commit 3e47747657
  1. 6
      pkgs/development/libraries/libxml2/default.nix

@ -3,7 +3,7 @@
, pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform
, icuSupport ? false, icu ? null
, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
, enableStatic ? !enableShared,
, enableStatic ? !enableShared
}:
stdenv.mkDerivation rec {
@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
(lib.withFeatureAs pythonSupport "python" python)
];
preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
MACOSX_DEPLOYMENT_TARGET=10.16
'';
enableParallelBuilding = true;
# disable test that's problematic with newer pythons: see

Loading…
Cancel
Save