Skip to content

Commit

Permalink
re-add libsandbox
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mic92 committed Nov 4, 2024
1 parent caa10b0 commit fbd1888
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/tools/package-management/nix/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ let
atLeast210 = lib.versionAtLeast version "2.10pre";
atLeast213 = lib.versionAtLeast version "2.13pre";
atLeast214 = lib.versionAtLeast version "2.14pre";
atLeast218 = lib.versionAtLeast version "2.18pre";
atLeast219 = lib.versionAtLeast version "2.19pre";
atLeast220 = lib.versionAtLeast version "2.20pre";
atLeast221 = lib.versionAtLeast version "2.21pre";
Expand All @@ -42,6 +43,7 @@ in
, callPackage
, coreutils
, curl
, darwin
, docbook_xsl_ns
, docbook5
, editline
Expand Down Expand Up @@ -158,6 +160,8 @@ self = stdenv.mkDerivation {
libseccomp
] ++ lib.optionals withAWS [
aws-sdk-cpp
] ++ lib.optional (atLeast218 && stdenv.hostPlatform.isDarwin) [
darwin.apple_sdk.libs.sandbox
];


Expand Down

0 comments on commit fbd1888

Please sign in to comment.