Skip to content

Commit

Permalink
Fix Nix flake build on Darwin (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
satoqz authored and ulyssa committed Jun 23, 2023
1 parent 1a0af6d commit 758397e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
/result
/TODO
/docs/iamb.[15]
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
version = "0.0.7";
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
nativeBuildInputs = [ pkgs.openssl pkgs.pkgconfig ];
buildInputs = [ pkgs.openssl ];
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.openssl ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin
(with pkgs.darwin.apple_sdk.frameworks; [ AppKit Security ]);
};
devShell = mkShell {
buildInputs = [
Expand Down

0 comments on commit 758397e

Please sign in to comment.