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 3d2621b commit 78ac5a0Copy full SHA for 78ac5a0
nix/ext/pg_graphql.nix
@@ -13,9 +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-yc0lO4BZdbArBujRynl/ItkLLAiVZ2Wf3S7voQ2x6xM=";
24
25
# FIXME (aseipp): disable the tests since they try to install .control
@@ -30,4 +34,4 @@ buildPgrxExtension_0_11_3 rec {
30
34
platforms = postgresql.meta.platforms;
31
35
license = licenses.postgresql;
32
36
33
-}
37
+}
0 commit comments