nix: Fix macOS build
This commit is contained in:
parent
f244d89e56
commit
4b955fff15
17
flake.nix
17
flake.nix
|
|
@ -80,16 +80,13 @@
|
||||||
// {
|
// {
|
||||||
inherit cargoArtifacts;
|
inherit cargoArtifacts;
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs;
|
nativeBuildInputs = with pkgs; [
|
||||||
[
|
git
|
||||||
git
|
# Add additional build inputs here
|
||||||
# Add additional build inputs here
|
];
|
||||||
]
|
buildInputs = lib.optionals pkgs.stdenv.buildPlatform.isDarwin (with pkgs; [
|
||||||
++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
|
darwin.apple_sdk.frameworks.Security
|
||||||
# Additional darwin specific inputs can be set here
|
]);
|
||||||
libiconv
|
|
||||||
darwin.apple_sdk.frameworks.Security
|
|
||||||
]);
|
|
||||||
|
|
||||||
env =
|
env =
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue