Merge pull request #30077 from WilliButz/fix-pgjwt-test

nixos/tests: clean up pgjwt test
This commit is contained in:
Joachim F 2017-10-04 11:37:42 +00:00 committed by GitHub
commit 8021c8f220

View File

@ -17,13 +17,8 @@ with pkgs; {
master = { pkgs, config, ... }: master = { pkgs, config, ... }:
{ {
services.postgresql = { services.postgresql = {
enable = true; enable = true;
package = postgresql96; extraPlugins = [ pgjwt pgtap ];
extraPlugins = [ pgjwt pgtap ];
initialScript = writeText "postgresql-init.sql"
''
CREATE ROLE postgres WITH superuser login createdb;
'';
}; };
}; };
}; };