Skip to content

Commit 00e6e32

Browse files
authored
Merge pull request mthom#2768 from robstolarz/RSTO-nix-macos-fix
fix: compile under Nix flake on macOS
2 parents 1ed4fe6 + 8944051 commit 00e6e32

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
let
3232
pkgs = import nixpkgs { inherit system overlays; };
3333
nativeBuildInputs = with pkgs; [ pkg-config ];
34-
buildInputs = with pkgs; [ openssl ];
34+
buildInputs = with pkgs; [ openssl ] ++
35+
lib.optionals pkgs.stdenv.isDarwin [
36+
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
37+
];
3538
in
3639
{
3740
devShells = {

0 commit comments

Comments
 (0)