summary refs log tree commit diff
path: root/nixos/tests/discourse.nix
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2021-05-27 11:41:35 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-28 17:43:02 -0700
commitcb80b67993d6ba195c3329606aab5fb981d8323c (patch)
treef56352ea37a83c66c2ce77bc286b81ae1c11e8ea /nixos/tests/discourse.nix
parent2dec0de3c039406950aaa79cbdeb9bfbcae4f87d (diff)
downloadnixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.tar
nixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.tar.gz
nixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.tar.bz2
nixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.tar.lz
nixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.tar.xz
nixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.tar.zst
nixpkgs-cb80b67993d6ba195c3329606aab5fb981d8323c.zip
nixos/discourse: Assert deployed PostgreSQL version
Assert that the PostgreSQL version being deployed is the one used
upstream. Allow the user to override this assertion, since it's not
always possible or preferable to use the recommended one.
Diffstat (limited to 'nixos/tests/discourse.nix')
-rw-r--r--nixos/tests/discourse.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/discourse.nix b/nixos/tests/discourse.nix
index 3c965550fe0..2ed6fb957c2 100644
--- a/nixos/tests/discourse.nix
+++ b/nixos/tests/discourse.nix
@@ -51,6 +51,8 @@ import ./make-test-python.nix (
 
         environment.systemPackages = [ pkgs.jq ];
 
+        services.postgresql.package = pkgs.postgresql_13;
+
         services.discourse = {
           enable = true;
           inherit admin;