From 894405149b6a51a34619b6a34e75b52a82e26f37 Mon Sep 17 00:00:00 2001 From: Rob Stolarz Date: Sat, 11 Jan 2025 13:00:46 -0800 Subject: [PATCH] fix: compile under Nix flake on macOS --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 64cc6821..852aa4af 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,10 @@ let pkgs = import nixpkgs { inherit system overlays; }; nativeBuildInputs = with pkgs; [ pkg-config ]; - buildInputs = with pkgs; [ openssl ]; + buildInputs = with pkgs; [ openssl ] ++ + lib.optionals pkgs.stdenv.isDarwin [ + pkgs.darwin.apple_sdk.frameworks.SystemConfiguration + ]; in { devShells = { -- 2.54.0