nix: Fix macOS build

This commit is contained in:
Lorenz Leutgeb
2024-09-12 17:50:06 +02:00
committed by cloudhead
parent f244d89e56
commit 4b955fff15
+7 -10
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 =
{