Skip to content

Commit

Permalink
Add missing libs for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed May 30, 2024
1 parent 312631b commit 6de951d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# provide a dev shell for all systems that the holonix flake supports
systems = builtins.attrNames holonix.devShells;

perSystem = { config, system, pkgs, ... }:
perSystem = { config, system, pkgs, lib, ... }:
{
formatter = pkgs.nixpkgs-fmt;

Expand Down Expand Up @@ -54,6 +54,13 @@
version = crateInfo.version;
src = craneLib.cleanCargoSource (craneLib.path ./.);
doCheck = false;

buildInputs = [ ]
++ (lib.optionals pkgs.stdenv.isDarwin
(with pkgs.darwin.apple_sdk_11_0.frameworks; [
CoreFoundation
Security
]));
};
};
};
Expand Down

0 comments on commit 6de951d

Please sign in to comment.