forked from Fediversity/Fediversity
fix CI
This commit is contained in:
parent
e13f24eba0
commit
1caf95dde1
1 changed files with 6 additions and 2 deletions
|
@ -56,8 +56,12 @@ let
|
|||
--property "User=${name}" \
|
||||
--property "Group=${name}" \
|
||||
--property "WorkingDirectory=/var/lib/${name}" \
|
||||
--property "Environment=DATABASE_URL=${database-url} USER_SETTINGS_FILE=${configFile}" \
|
||||
''
|
||||
--property "Environment=DATABASE_URL=${database-url} USER_SETTINGS_FILE=${configFile} ''
|
||||
+
|
||||
# env vars mandatory in `settings.py` tho not used in `manage`
|
||||
''
|
||||
NIX_BIN=${lib.getExe pkgs.nix} REPO_DIR=${../..}" \
|
||||
''
|
||||
+ optionalString (credentials != [ ]) (
|
||||
(concatStringsSep " \\\n" (map (cred: "--property 'LoadCredential=${cred}'") credentials)) + " \\\n"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue