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 fe5a4c5 commit 3d2621bCopy full SHA for 3d2621b
nix/ext/pg_jsonschema.nix
@@ -13,10 +13,13 @@ buildPgrxExtension_0_11_3 rec {
13
};
14
15
nativeBuildInputs = [ cargo ];
16
+ buildInputs = [ postgresql ];
17
18
CARGO="${cargo}/bin/cargo";
-
19
+ env = lib.optionalAttrs stdenv.isDarwin {
20
+ POSTGRES_LIB = "${postgresql}/lib";
21
+ RUSTFLAGS = "-C link-arg=-undefined -C link-arg=dynamic_lookup";
22
+ };
23
cargoHash = "sha256-VcS+efMDppofuFW2zNrhhsbC28By3lYekDFquHPta2g=";
24
25
# FIXME (aseipp): testsuite tries to write files into /nix/store; we'll have
@@ -30,4 +33,4 @@ buildPgrxExtension_0_11_3 rec {
30
33
platforms = postgresql.meta.platforms;
31
34
license = licenses.postgresql;
32
35
-}
36
+}
0 commit comments