about summary refs log tree commit diff
path: root/nixos/tests/web-apps
diff options
context:
space:
mode:
authorKerstin Humm <kerstin@erictapen.name>2023-11-13 15:23:49 +0100
committerKerstin Humm <kerstin@erictapen.name>2023-11-14 21:13:45 +0100
commit0f535d40f93eec1c962b8b345e8a3717fde3b811 (patch)
tree98f5a972a0041b3f3d97a90baf93efbee85581a9 /nixos/tests/web-apps
parente44462d6021bfe23dfb24b775cc7c390844f773d (diff)
nixos/mastodon: fix integration test
Diffstat (limited to 'nixos/tests/web-apps')
-rw-r--r--nixos/tests/web-apps/mastodon/remote-postgresql.nix2
-rw-r--r--nixos/tests/web-apps/mastodon/standard.nix3
2 files changed, 5 insertions, 0 deletions
diff --git a/nixos/tests/web-apps/mastodon/remote-postgresql.nix b/nixos/tests/web-apps/mastodon/remote-postgresql.nix
index 715477191bfbc..3e80126ea786c 100644
--- a/nixos/tests/web-apps/mastodon/remote-postgresql.nix
+++ b/nixos/tests/web-apps/mastodon/remote-postgresql.nix
@@ -29,6 +29,8 @@ in
 
       services.postgresql = {
         enable = true;
+        # TODO remove once https://github.com/NixOS/nixpkgs/pull/266270 is resolved.
+        package = pkgs.postgresql_14;
         enableTCPIP = true;
         authentication = ''
           hostnossl mastodon_local mastodon_test 192.168.2.201/32 md5
diff --git a/nixos/tests/web-apps/mastodon/standard.nix b/nixos/tests/web-apps/mastodon/standard.nix
index 14311afea3f78..cbc184455ffb3 100644
--- a/nixos/tests/web-apps/mastodon/standard.nix
+++ b/nixos/tests/web-apps/mastodon/standard.nix
@@ -40,6 +40,9 @@ in
         port = 31637;
       };
 
+      # TODO remove once https://github.com/NixOS/nixpkgs/pull/266270 is resolved.
+      services.postgresql.package = pkgs.postgresql_14;
+
       services.mastodon = {
         enable = true;
         configureNginx = true;