Skip to content

Commit 79d2b7b

Browse files
committed
Add comment
1 parent 2112a50 commit 79d2b7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/system-nixpkgs-map.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ let
1717
lndir ${pkgs.buildPackages.gcc.cc} $out
1818
'')
1919
] else [];
20+
# In newer versions of nixpkgs `pg_config` has been moved to its own derivation.
21+
# Haskell libs that depend on the `pq` library (like `postgresql-libpq`)
22+
# are likely to require `pg_config` to be in the `PATH` as well.
2023
postgresqlLibs = [ postgresql ] ++ lib.optional (postgresql ? pg_config) postgresql.pg_config;
2124
in
2225
# -- linux

0 commit comments

Comments
 (0)