gtk2: cap MACOSX_DEPLOYMENT_TARGET at 10.16

This commit is contained in:
Ivan Babrou 2021-05-13 19:49:55 -07:00 committed by Jonathan Ringer
parent 59579ed4fa
commit 24f13758b9

View file

@ -61,6 +61,10 @@ stdenv.mkDerivation rec {
++ optionals cupsSupport [ cups ]
++ optionals stdenv.isDarwin [ AppKit Cocoa ];
preConfigure = if (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) then ''
MACOSX_DEPLOYMENT_TARGET=10.16
'' else null;
configureFlags = [
"--with-gdktarget=${gdktarget}"
"--with-xinput=yes"