Skip to content

Commit 5679494

Browse files
committed
fix: missing dependency on macOS for pg_jsonschema
1 parent acf18e8 commit 5679494

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nix/ext/pg_jsonschema/default.nix

Lines changed: 4 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,9 @@ let
4243
"";
4344

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

0 commit comments

Comments
 (0)