Unverified Commit edd7f434 authored by Theodore Ni's avatar Theodore Ni Committed by GitHub
Browse files

chrony: switch to apple-sdk_11 (#352910)

parents faf7e114 3d9f0777
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
{
  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 = [