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/tests/postgresql-wal-receiver.nix | |
parent | fe8ec6a07ff1597495204bdcc979b39b5aac3e5e (diff) | |
download | nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.tar nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.tar.gz nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.tar.bz2 nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.tar.lz nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.tar.xz nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.tar.zst nixpkgs-a7331d1403e7480b2a68700977cef290491ababc.zip |
nixos tests: fix postgresql-wal-receiver
Diffstat (limited to 'nixos/tests/postgresql-wal-receiver.nix')
-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 905f4b22e97..0e8b3bfd6c3 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"; |