python3Packages.dbus-python: cap MACOSX_DEPLOYMENT_TARGET at 10.16
This commit is contained in:
parent
2987d66d0f
commit
59579ed4fa
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, python, pkg-config, dbus, dbus-glib, isPyPy
|
||||
{ lib, stdenv, fetchPypi, buildPythonPackage, python, pkg-config, dbus, dbus-glib, isPyPy
|
||||
, ncurses, pygobject3, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,6 +19,10 @@ buildPythonPackage rec {
|
|||
|
||||
disabled = isPyPy;
|
||||
|
||||
preConfigure = if (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) then ''
|
||||
MACOSX_DEPLOYMENT_TARGET=10.16
|
||||
'' else null;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dbus dbus-glib ]
|
||||
# My guess why it's sometimes trying to -lncurses.
|
||||
|
|
Loading…
Reference in a new issue