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,16 +80,13 @@
// {
inherit cargoArtifacts;
nativeBuildInputs = with pkgs;
[
git
# Add additional build inputs here
]
++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
# Additional darwin specific inputs can be set here
libiconv
darwin.apple_sdk.frameworks.Security
]);
nativeBuildInputs = with pkgs; [
git
# Add additional build inputs here
];
buildInputs = lib.optionals pkgs.stdenv.buildPlatform.isDarwin (with pkgs; [
darwin.apple_sdk.frameworks.Security
]);
env =
{