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:
commit
edd7f43442
1 changed files with 7 additions and 12 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue