Skip to content

Commit

Permalink
Merge pull request #2768 from robstolarz/RSTO-nix-macos-fix
Browse files Browse the repository at this point in the history
fix: compile under Nix flake on macOS
  • Loading branch information
mthom authored Jan 14, 2025
2 parents 1ed4fe6 + 8944051 commit 00e6e32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 00e6e32

Please sign in to comment.