diff options
author | Andrew Childs <lorne@cons.org.nz> | 2021-02-25 12:48:59 +0900 |
---|---|---|
committer | Andrew Childs <lorne@cons.org.nz> | 2021-05-17 00:28:04 +0900 |
commit | c96c85873c0a16e5db417ee5138a3ae567ae0d36 (patch) | |
tree | a7f27e71f6e94718c590984a1fd4d50094492944 /pkgs/development/libraries/openbsm | |
parent | ea2e64c5c05f3b09fed2fc94abf355c1cdc278ea (diff) |
openbsm: cap MACOSX_DEPLOYMENT_TARGET at 10.16
Diffstat (limited to 'pkgs/development/libraries/openbsm')
-rw-r--r-- | pkgs/development/libraries/openbsm/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openbsm/default.nix b/pkgs/development/libraries/openbsm/default.nix index 269b0138091b4..4719b7fb74704 100644 --- a/pkgs/development/libraries/openbsm/default.nix +++ b/pkgs/development/libraries/openbsm/default.nix @@ -13,6 +13,10 @@ stdenv.mkDerivation rec { patches = lib.optional stdenv.isDarwin [ ./bsm-add-audit_token_to_pid.patch ]; + preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") '' + MACOSX_DEPLOYMENT_TARGET=10.16 + ''; + configureFlags = [ "ac_cv_file__usr_include_mach_audit_triggers_defs=no" ]; meta = { |