diff --git a/shell.nix b/shell.nix index 837e26c67..df2997a61 100644 --- a/shell.nix +++ b/shell.nix @@ -13,6 +13,8 @@ let CREATE USER uniworx; CREATE DATABASE uniworx_test; GRANT ALL ON DATABASE uniworx_test TO uniworx; + CREATE DATABASE uniworx; + GRANT ALL ON DATABASE uniworx TO uniworx; ''; postgresHba = pkgs.writeText "hba_file" '' @@ -33,16 +35,12 @@ let export PGHOST=''${pgSockDir} PGLOG=''${pgLogFile} psql -f ${postgresSchema} postgres printf "Postgres logfile is %s\nPostgres socket directory is %s\n" ''${pgLogFile} ''${pgSockDir} - cat > .dbsettings.yml < Spec withApp = before $ do settings <- loadYamlSettings - [".dbsettings.yml", "config/test-settings.yml", "config/settings.yml"] + ["config/test-settings.yml", "config/settings.yml"] [] useEnv foundation <- makeFoundation settings