nix: Fix macOS build

This commit is contained in:
Lorenz Leutgeb 2024-07-30 12:00:43 +02:00 committed by cloudhead
parent f244d89e56
commit 4b955fff15
No known key found for this signature in database
1 changed files with 7 additions and 10 deletions

View File

@ -80,14 +80,11 @@
// { // {
inherit cargoArtifacts; inherit cargoArtifacts;
nativeBuildInputs = with pkgs; nativeBuildInputs = with pkgs; [
[
git git
# Add additional build inputs here # Add additional build inputs here
] ];
++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ buildInputs = lib.optionals pkgs.stdenv.buildPlatform.isDarwin (with pkgs; [
# Additional darwin specific inputs can be set here
libiconv
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
]); ]);