diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2024-02-04 06:36:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 06:36:16 -0500 |
commit | 1be8478d00f91aa3a1980093c8accf0ce54d33bf (patch) | |
tree | 9acfd50923ed7c2de23d9cddb85b212c62d9884b /pkgs/build-support | |
parent | 451b9705cded5fc001ba074e1d4e13a71bb7a917 (diff) | |
parent | 70b51d8d17216ef6c4fdd073254899f1e8858bc9 (diff) | |
download | nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.tar nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.tar.gz nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.tar.bz2 nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.tar.lz nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.tar.xz nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.tar.zst nixlib-1be8478d00f91aa3a1980093c8accf0ce54d33bf.zip |
Merge pull request #283080 from marsam/postgresql-test-hook-settings
postgresqlTestHook: add postgresqlExtraSettings variable
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/setup-hooks/postgresql-test-hook/postgresql-test-hook.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/setup-hooks/postgresql-test-hook/postgresql-test-hook.sh b/pkgs/build-support/setup-hooks/postgresql-test-hook/postgresql-test-hook.sh index 3eec67d60feb..d09153b2d644 100644 --- a/pkgs/build-support/setup-hooks/postgresql-test-hook/postgresql-test-hook.sh +++ b/pkgs/build-support/setup-hooks/postgresql-test-hook/postgresql-test-hook.sh @@ -56,6 +56,8 @@ EOF echo 'initializing postgresql' initdb -U postgres + echo "$postgresqlExtraSettings" >>"$PGDATA/postgresql.conf" + # Move the socket echo "unix_socket_directories = '$NIX_BUILD_TOP/run/postgresql'" >>"$PGDATA/postgresql.conf" |