Add darwin support packages

This commit is contained in:
Nathan McCarty 2023-05-16 16:17:29 -04:00
parent 4cca422b3b
commit dc78ed045a
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

View File

@ -69,7 +69,12 @@
rustc = rust;
cargo = rust;
};
buildInputs = (sharedDeps system) ++ (with pkgs; [ openssl ]);
buildInputs = (sharedDeps system) ++ (with pkgs;
[ openssl ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
pkgs.libiconv
darwin.apple_sdk.frameworks.SystemConfiguration
]);
nativeBuildInputs = (sharedNativeDeps system)
++ (with pkgs; [ pkg-config cmake ]);
devBase = with pkgs;