Skip to content

Commit 25a8581

Browse files
committed
fix: missing dependency on macOS for pg_jsonschema
1 parent ca696b0 commit 25a8581

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/ext/pg_jsonschema/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
fetchFromGitHub,
77
postgresql,
88
rust-bin,
9+
darwin,
910
}:
1011
let
1112
pname = "pg_jsonschema";
@@ -42,7 +43,7 @@ let
4243
"";
4344

4445
nativeBuildInputs = [ cargo ];
45-
buildInputs = [ postgresql ];
46+
buildInputs = [ postgresql ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
4647
# update the following array when the pg_jsonschema version is updated
4748
# required to ensure that extensions update scripts from previous versions are generated
4849

0 commit comments

Comments
 (0)