Skip to content

Commit fbd1888

Browse files
committed
re-add libsandbox
This was accidentially reverted in the previous PR. Interestingly it seems to build without it? Anyway. It's probably better to have it explicitly in rather than relying in implicit behaviour of the current sdk.
1 parent caa10b0 commit fbd1888

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/tools/package-management/nix/common.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ let
1616
atLeast210 = lib.versionAtLeast version "2.10pre";
1717
atLeast213 = lib.versionAtLeast version "2.13pre";
1818
atLeast214 = lib.versionAtLeast version "2.14pre";
19+
atLeast218 = lib.versionAtLeast version "2.18pre";
1920
atLeast219 = lib.versionAtLeast version "2.19pre";
2021
atLeast220 = lib.versionAtLeast version "2.20pre";
2122
atLeast221 = lib.versionAtLeast version "2.21pre";
@@ -42,6 +43,7 @@ in
4243
, callPackage
4344
, coreutils
4445
, curl
46+
, darwin
4547
, docbook_xsl_ns
4648
, docbook5
4749
, editline
@@ -158,6 +160,8 @@ self = stdenv.mkDerivation {
158160
libseccomp
159161
] ++ lib.optionals withAWS [
160162
aws-sdk-cpp
163+
] ++ lib.optional (atLeast218 && stdenv.hostPlatform.isDarwin) [
164+
darwin.apple_sdk.libs.sandbox
161165
];
162166

163167

0 commit comments

Comments
 (0)