New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/gitea: fix pre start script #44979
Conversation
I had one problem, the |
Should be fixed now |
I'm not sure if it's relevant to this PR, but I'm running gitea on nixos 18.03 and currently, it's failing to start with this error message:
|
@uvNikita yes, this PR fix exactly this. For a quick fix you can run the command manually. |
This feature fixes exactly this error.Am 23.08.2018 10:00 schrieb Nikita Uvarov <notifications@github.com>:I'm not sure if it's relevant to this PR, but I'm running gitea on nixos 18.03 and currently, it's failing to start with this error message:
panic: fail to set message file(uk-UA): open conf/locale/locale_uk-UA.ini: no such file or directory
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
|
Great! Thanks for the explanation, I'll try to run the command manually for now. |
Merge conflict because a similar fix was merged in #45608. I'm afraid this PR (which was first) was overlooked. Please close it if the issue is fixed now. Thank you for contributing! |
The gitea path is hardcoded in hooks directory in files of paths like: repositories/<user>/<repo>.git/hooks/update.d/gitea
Ah okay, I have updated the PR accordingly. |
Thank you. |
Motivation for this change
The gitea path is hardcoded in hooks directory in files of paths like:
The locales can be updated on a new gitea release and therefore should be updated in the
stateDir
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)