about summary refs log tree commit diff
path: root/infra
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-01-03T22·21+0100
committerVincent Ambo <tazjin@gmail.com>2018-01-03T22·21+0100
commit880df6560cc644dbe6d721d690cb00c62cd86e11 (patch)
treeb3fce713554ad5ddf1c8489afd45cb1f84560025 /infra
parenta6a48806c4a870965d83cd936a323fea9ff19c54 (diff)
fix(nix): Fix Gogs SSH access
The Gogs developers got it into their head that trying to write things
to some relative path from the binary location is a sensible thing to
do (spoiler: it's not).

Due to their weird "GOGS_CUSTOM" directory which seems to only
sometimes be configurable by environment variables, the command used
to handle SSH requests failed because it attempted to write logs into
the Nix store.

This works around the issue by hardcoding the log file root path in
the Gogs configuration.
Diffstat (limited to 'infra')
0 files changed, 0 insertions, 0 deletions