mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +01:00
qt5.*: use default SDK on Darwin (14.4)
This commit is contained in:
parent
968bc7dfb4
commit
f6b75da2d5
|
|
@ -17,7 +17,6 @@
|
||||||
python3,
|
python3,
|
||||||
which,
|
which,
|
||||||
# darwin support
|
# darwin support
|
||||||
apple-sdk_14,
|
|
||||||
xcbuild,
|
xcbuild,
|
||||||
|
|
||||||
dbus,
|
dbus,
|
||||||
|
|
@ -86,11 +85,6 @@ let
|
||||||
"linux-generic-g++"
|
"linux-generic-g++"
|
||||||
else
|
else
|
||||||
throw "Please add a qtPlatformCross entry for ${plat.config}";
|
throw "Please add a qtPlatformCross entry for ${plat.config}";
|
||||||
|
|
||||||
# Per https://doc.qt.io/qt-5/macos.html#supported-versions: build SDK = 13.x or 14.x.
|
|
||||||
darwinVersionInputs = [
|
|
||||||
apple-sdk_14
|
|
||||||
];
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation (
|
stdenv.mkDerivation (
|
||||||
|
|
@ -153,7 +147,6 @@ stdenv.mkDerivation (
|
||||||
++ lib.optionals (!stdenv.hostPlatform.isDarwin) (
|
++ lib.optionals (!stdenv.hostPlatform.isDarwin) (
|
||||||
lib.optional withLibinput libinput ++ lib.optional withGtk3 gtk3
|
lib.optional withLibinput libinput ++ lib.optional withGtk3 gtk3
|
||||||
)
|
)
|
||||||
++ lib.optional stdenv.hostPlatform.isDarwin darwinVersionInputs
|
|
||||||
++ lib.optional developerBuild gdb
|
++ lib.optional developerBuild gdb
|
||||||
++ lib.optional (cups != null) cups
|
++ lib.optional (cups != null) cups
|
||||||
++ lib.optional mysqlSupport libmysqlclient
|
++ lib.optional mysqlSupport libmysqlclient
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
buildPackages,
|
buildPackages,
|
||||||
mkDerivation,
|
mkDerivation,
|
||||||
apple-sdk_14,
|
|
||||||
perl,
|
perl,
|
||||||
qmake,
|
qmake,
|
||||||
patches,
|
patches,
|
||||||
|
|
@ -29,12 +28,7 @@ mkDerivation (
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
patches = (args.patches or [ ]) ++ (patches.${pname} or [ ]);
|
patches = (args.patches or [ ]) ++ (patches.${pname} or [ ]);
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = args.buildInputs or [ ];
|
||||||
args.buildInputs or [ ]
|
|
||||||
# Per https://doc.qt.io/qt-5/macos.html#supported-versions
|
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
apple-sdk_14
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
(args.nativeBuildInputs or [ ])
|
(args.nativeBuildInputs or [ ])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue