3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests: clean up pgjwt test

- removed unneeded initscript
- use default postgres version for the test
This commit is contained in:
WilliButz 2017-10-04 13:01:01 +02:00
parent 2b70f5e251
commit 3539e16cfa
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2

View file

@ -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 ];
};
};
};