Skip to content

Commit

Permalink
chore: darwin builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vzctl authored and justinrubek committed Jun 12, 2023
1 parent fea185b commit efa4127
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions flake-parts/cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
pkgs.pkg-config
pkgs.openssl
pkgs.openssl.dev
] ++ lib.optionals pkgs.stdenv.isDarwin [
pkgs.libiconv
pkgs.darwin.apple_sdk.frameworks.AppKit
pkgs.darwin.apple_sdk.frameworks.CoreFoundation
pkgs.darwin.apple_sdk.frameworks.CoreServices
pkgs.darwin.apple_sdk.frameworks.Foundation
pkgs.darwin.apple_sdk.frameworks.Security
];

# allBuildInputs = base: base ++ extraBuildInputs;
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
...
}:
flake-parts.lib.mkFlake {inherit self;} {
systems = [ "x86_64-linux" "aarch64-linux" ];
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
imports = [
./lib.nix
./flake-parts/cargo.nix
Expand Down

0 comments on commit efa4127

Please sign in to comment.