summary refs log tree commit diff
path: root/nixos/tests/pgjwt.nix
diff options
context:
space:
mode:
authorWilliButz <wbutz@cyberfnord.de>2017-10-04 13:01:01 +0200
committerWilliButz <wbutz@cyberfnord.de>2017-10-04 13:04:49 +0200
commit3539e16cfaefc7c8c71ae0d97d53d91484a4414f (patch)
tree7c58c4e9bde18b7217803e1a43318cdba504bea0 /nixos/tests/pgjwt.nix
parent2b70f5e251e39a4dfb7150362dcb12f08e0ee6b3 (diff)
downloadnixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.tar
nixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.tar.gz
nixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.tar.bz2
nixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.tar.lz
nixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.tar.xz
nixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.tar.zst
nixpkgs-3539e16cfaefc7c8c71ae0d97d53d91484a4414f.zip
nixos/tests: clean up pgjwt test
- removed unneeded initscript
- use default postgres version for the test
Diffstat (limited to 'nixos/tests/pgjwt.nix')
-rw-r--r--nixos/tests/pgjwt.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixos/tests/pgjwt.nix b/nixos/tests/pgjwt.nix
index 5af2f38035e..d186c42a2a9 100644
--- a/nixos/tests/pgjwt.nix
+++ b/nixos/tests/pgjwt.nix
@@ -17,13 +17,8 @@ with pkgs; {
     master = { pkgs, config, ... }:
     {
       services.postgresql = {
-      enable = true;
-      package = postgresql96;
-      extraPlugins = [ pgjwt pgtap ];
-      initialScript =  writeText "postgresql-init.sql"
-      ''
-        CREATE ROLE postgres WITH superuser login createdb;
-      '';
+        enable = true;
+        extraPlugins = [ pgjwt pgtap ];
       };
     };
   };