Skip to content

Commit 7755753

Browse files
committed
build(nix): Remove icu support for static postgresql
1 parent 46ba2a8 commit 7755753

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

flake.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,18 @@
110110
gssSupport = false;
111111
perlSupport = false;
112112
jitSupport = false;
113+
icuSupport = false;
114+
pamSupport = false;
115+
pythonSupport = false;
116+
tclSupport = false;
113117
})
114118

115119
(p: p.overrideAttrs (old: {
120+
NIX_LDFLAGS = "--push-state --as-needed -lstdc++ --pop-state";
121+
LC_CTYPE = "C";
122+
123+
doCheck = false;
124+
116125
postPatch = old.postPatch + ''
117126
substituteInPlace src/interfaces/libpq/Makefile \
118127
--replace-fail "echo 'libpq must not be calling any function which invokes exit'; exit 1;" "echo;"

0 commit comments

Comments
 (0)