We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ac5a0 commit 7ad6f0bCopy full SHA for 7ad6f0b
nix/ext/wrappers/default.nix
@@ -6,6 +6,7 @@
6
, postgresql
7
, buildPgrxExtension_0_11_3
8
, cargo
9
+, darwin
10
}:
11
12
buildPgrxExtension_0_11_3 rec {
@@ -22,7 +23,11 @@ buildPgrxExtension_0_11_3 rec {
22
23
24
nativeBuildInputs = [ pkg-config cargo ];
25
- buildInputs = [ openssl ];
26
+ buildInputs = [ openssl ] ++ lib.optionals (stdenv.isDarwin) [
27
+ darwin.apple_sdk.frameworks.CoreFoundation
28
+ darwin.apple_sdk.frameworks.Security
29
+ darwin.apple_sdk.frameworks.SystemConfiguration
30
+ ];
31
32
# Needed to get openssl-sys to use pkg-config.
33
OPENSSL_NO_VENDOR = 1;
@@ -63,4 +68,4 @@ buildPgrxExtension_0_11_3 rec {
63
68
platforms = postgresql.meta.platforms;
64
69
license = licenses.postgresql;
65
70
};
66
-}
71
+}
0 commit comments