diff --git a/.gitignore b/.gitignore index bfcdf98..7cf3410 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target +/result /TODO /docs/iamb.[15] diff --git a/flake.nix b/flake.nix index 23a7591..39e8628 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = [