nixos: Move uses of stdenv.shell to runtimeShell.

This commit is contained in:
Shea Levy
2018-03-01 14:38:53 -05:00
parent e70f61f5a1
commit fec543436d
41 changed files with 57 additions and 57 deletions

View File

@@ -346,7 +346,7 @@ let
postgresql = serverInfo.fullConfig.services.postgresql.package;
setupDb = pkgs.writeScript "setup-owncloud-db" ''
#!${pkgs.stdenv.shell}
#!${pkgs.runtimeShell}
PATH="${postgresql}/bin"
createuser --no-superuser --no-createdb --no-createrole "${config.dbUser}" || true
createdb "${config.dbName}" -O "${config.dbUser}" || true