Skip to content

Commit 571662a

Browse files
sgillespieCmdv
authored andcommitted
Disable split static postgresql outputs
In it's current state, we're unable to build cardana-chain-gen: cannot find -lpgcommon: No such file or directory cannot find -lpgport: No such file or directory collect2: error: ld returned 1 exit status Remove the extra configure flags, and see if we can still build all the other artifacts.
1 parent 0dacec4 commit 571662a

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository cardano-haskell-packages
1111

1212
index-state:
1313
, hackage.haskell.org 2025-08-03T21:32:16Z
14-
, cardano-haskell-packages 2025-06-25T13:51:34Z
14+
, cardano-haskell-packages 2025-07-30T14:13:57Z
1515

1616
packages:
1717
cardano-db

config/pgpass-mainnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/var/run/postgresql:5432:cexplorer:*:*
1+
/tmp:5432:cexplorer:*:*

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,12 @@
243243
ghcOptions = [
244244
# libpq static is pretty broken in nixpkgs. We can't rely on the
245245
# pkg-config, so we have to add the correct libraries ourselves
246-
"-optl-Wl,-lpgcommon"
247-
"-optl-Wl,-lpgport"
246+
#
247+
# TODO[sgillespie]: Are these still required? Review the
248+
# postgresql/nixpkgs packaging scripts
249+
#
250+
# "-optl-Wl,-lpgcommon"
251+
# "-optl-Wl,-lpgport"
248252
"-optl-Wl,-lm"
249253

250254
# Since we aren't using pkg-config, it won't automatically include

0 commit comments

Comments
 (0)