fix: compile under Nix flake on macOS

This commit is contained in:
Rob Stolarz
2025-01-11 13:00:46 -08:00
parent 2856cc4371
commit 894405149b

View File

@@ -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 = {