diff --git a/flake.nix b/flake.nix index 8e8c8b1..ca25240 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,12 @@ naersk-lib.buildPackage { pname = source.pname; src = pkgs.fetchCrate source; - buildInputs = with pkgs; [ pkg-config openssl ]; + buildInputs = with pkgs; + [ pkg-config openssl ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + pkgs.libiconv + darwin.apple_sdk.frameworks.SystemConfiguration + ]; }) sources) // # Packages that naersk has trouble building due to https://github.com/nix-community/naersk/issues/263 {