forked from Fediversity/Fediversity
deploy button: for cache dir use the system-user-writable /tmp
This commit is contained in:
parent
82d2be76ea
commit
ef0d01bcd5
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ class ConfigurationForm(LoginRequiredMixin, FormView):
|
||||||
env = {
|
env = {
|
||||||
# pass in form info to our deployment
|
# pass in form info to our deployment
|
||||||
"DEPLOYMENT": deployment,
|
"DEPLOYMENT": deployment,
|
||||||
|
# as we trigger nixops thru nix, specify a cache directory for nix
|
||||||
|
"XDG_CACHE_HOME": "/tmp",
|
||||||
}
|
}
|
||||||
cmd = [
|
cmd = [
|
||||||
settings.nix_bin,
|
settings.nix_bin,
|
||||||
|
|
Loading…
Add table
Reference in a new issue