diff --git a/flake.nix b/flake.nix index dd2ab74b66..4834de2536 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,7 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; + inherit (pkgs.stdenv) isDarwin; fenixPkgs = fenix.packages.${system}; naersk' = pkgs.callPackage naersk { }; manifest = (pkgs.lib.importTOML ./Cargo.toml).package; @@ -94,6 +95,9 @@ nativeBuildInputs = [ pkgs.perl # Needed to build vendored OpenSSL. ]; + buildInputs = pkgs.lib.optionals isDarwin [ + pkgs.darwin.apple_sdk.frameworks.SystemConfiguration + ]; auditable = false; # Avoid cargo-auditable failures. doCheck = false; # Disable test as it requires network access. };