1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-04-15 08:46:25 +00:00

postgresql: Use core ln from coreutils

Otherwise it fallbacks to /bin/ln which is outdated and might not work.
This commit is contained in:
Mario Rodas 2019-03-29 07:22:01 -05:00
parent 2430e72100
commit 6a6d512d40
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

View file

@ -71,7 +71,7 @@ in
if ! test -e ${cfg.dataDir}/PG_VERSION; then
initdb -U postgres -D ${cfg.dataDir}
fi
ln -sfn ${configFile} ${cfg.dataDir}/postgresql.conf
${pkgs.coreutils}/bin/ln -sfn ${configFile} ${cfg.dataDir}/postgresql.conf
exec ${cfg.package}/bin/postgres -D ${cfg.dataDir} ${optionalString cfg.enableTCPIP "-i"}
'';