chore: enable postgres support in nix liblogosdelivery build (#3813)

Add -d:postgres and -d:nimDebugDlOpen to both the dynamic and static
nim c invocations in nix/default.nix, matching the POSTGRES=1 flag
already used in the Make-based build path.
This commit is contained in:
NagyZoltanPeter 2026-04-15 16:12:52 +02:00 committed by GitHub
parent ecd3758580
commit 509c875533
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,6 +62,8 @@ pkgs.stdenv.mkDerivation {
--path:$NAT_TRAV/src \
--passL:"-L${zerokitRln}/lib -lrln" \
--define:disable_libbacktrace \
--define:postgres \
--define:nimDebugDlOpen \
--out:build/liblogosdelivery.${libExt} \
--app:lib \
--threads:on \
@ -81,6 +83,8 @@ pkgs.stdenv.mkDerivation {
--path:$NAT_TRAV/src \
--passL:"-L${zerokitRln}/lib -lrln" \
--define:disable_libbacktrace \
--define:postgres \
--define:nimDebugDlOpen \
--out:build/liblogosdelivery.a \
--app:staticlib \
--threads:on \