From: Rob Stolarz Date: Sat, 11 Jan 2025 21:00:46 +0000 (-0800) Subject: fix: compile under Nix flake on macOS X-Git-Tag: v0.10.0~80^2 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=894405149b6a51a34619b6a34e75b52a82e26f37;p=scryer-prolog.git fix: compile under Nix flake on macOS --- 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 = {