mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
gtk2: cap MACOSX_DEPLOYMENT_TARGET at 10.16
This commit is contained in:
parent
59579ed4fa
commit
24f13758b9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user