diff options
author | Léo Gaspard <leo@gaspard.io> | 2021-01-05 04:12:53 +0100 |
---|---|---|
committer | Léo Gaspard <leo@gaspard.io> | 2021-01-05 04:12:53 +0100 |
commit | a7331d1403e7480b2a68700977cef290491ababc (patch) | |
tree | b51d9beaf1fdb275d04fa79ea5822a35d82e3dda /nixos | |
parent | fe8ec6a07ff1597495204bdcc979b39b5aac3e5e (diff) |
nixos tests: fix postgresql-wal-receiver
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/postgresql-wal-receiver.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/postgresql-wal-receiver.nix b/nixos/tests/postgresql-wal-receiver.nix index 905f4b22e97b..0e8b3bfd6c34 100644 --- a/nixos/tests/postgresql-wal-receiver.nix +++ b/nixos/tests/postgresql-wal-receiver.nix @@ -6,13 +6,14 @@ with import ../lib/testing-python.nix { inherit system pkgs; }; let + lib = pkgs.lib; + # Makes a test for a PostgreSQL package, given by name and looked up from `pkgs`. makePostgresqlWalReceiverTest = postgresqlPackage: { name = postgresqlPackage; value = let - pkg = pkgs."${postgresqlPackage}"; postgresqlDataDir = "/var/lib/postgresql/${pkg.psqlSchema}"; replicationUser = "wal_receiver_user"; |