Skip to content

Commit

Permalink
Use Apple SDK 11 for cheriot-audit
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed May 28, 2024
1 parent 1dc641e commit 7fa8e92
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/cheriot-audit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
fetchFromGitHub,
lib,
cmake,
ninja,
git,
darwin,
}: let
# Source dependencies of cheriot-audit
regocpp = fetchFromGitHub {
Expand Down Expand Up @@ -49,8 +49,13 @@
rev = "b9be5b9444772324459989177108a6a65b8b2769";
hash = "sha256-emTIaoUyTINbAAn9tw1r3zLTQt58N8A1zoP+0y41yKo=";
};

mkDerivation =
if stdenv.isDarwin
then darwin.apple_sdk_11_0.stdenv.mkDerivation
else stdenv.mkDerivation;
in
stdenv.mkDerivation rec {
mkDerivation rec {
pname = "cheriot-audit";
version = "0.0.0";

Expand Down

0 comments on commit 7fa8e92

Please sign in to comment.