Skip to content

Commit 6b87315

Browse files
committed
Disable postgresql flags for cardano-chain-gen:lib
cardano-chain-gen library no longer directly uses postgresql, all queries were moved to cardana-db. Because of that, 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 postgresql-specific configure flags for the cardano-chain-gen library.
1 parent 0dacec4 commit 6b87315

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
"-optl-Wl,-lcrypto"
263263
];
264264
in {
265-
packages.cardano-chain-gen.ghcOptions = ghcOptions;
265+
packages.cardano-chain-gen.components.tests.cardano-chain-gen.ghcOptions = ghcOptions;
266266
packages.cardano-db-sync.ghcOptions = ghcOptions;
267267
packages.cardano-db.ghcOptions = ghcOptions;
268268
packages.cardano-db-tool.ghcOptions = ghcOptions;

0 commit comments

Comments
 (0)