0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

chrony: switch to apple-sdk_11 (#352910)

This commit is contained in:
Theodore Ni 2024-11-01 19:12:33 -07:00 committed by GitHub
commit edd7f43442
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,6 @@
{
lib,
stdenv,
overrideSDK,
fetchurl,
pkg-config,
gnutls,
@ -11,19 +10,11 @@
libseccomp,
pps-tools,
nixosTests,
apple-sdk_11,
darwinMinVersionHook,
}:
let
stdenv' =
if stdenv.hostPlatform.isDarwin then
overrideSDK stdenv {
darwinSdkVersion = "11.0";
darwinMinVersion = "10.13";
}
else
stdenv;
in
stdenv'.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "chrony";
version = "4.6.1";
@ -49,6 +40,10 @@ stdenv'.mkDerivation rec {
libcap
libseccomp
pps-tools
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
(darwinMinVersionHook "10.13")
];
configureFlags = [