-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
gitea: build package with go 1.13 #87115
Conversation
as gitea 1.11 does not support go 1.14 This repairs the gitea wiki on NixOS 20.03. See go-gitea/gitea#10552 for upstream issue.
@GrahamcOfBorg test gitea |
maintainers: It seemed to me like this is the most viable approach, as I coudl not see how this could/should be changed inside the package, even if the change is tied to the actual gitea version. |
Uuhm where did go 1.13 go in master? 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Go 1.13 is gone, any reason we're not just applying go-gitea/gitea#10583 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine for now, but Gitea 1.12 will be released relatively soon - when updating that, this workaround could be removed.
Well, I'm not sure whether we want to backport Gitea 1.12 and if not, we have to fix this for 1.11 for 20.03 at least. Also, when patching this, the build would fail if the patch doesn't apply anymore (e.g. after an update), right? @florianjacob does it sound ok to you to only apply the patch which fixes the issue? |
https://github.com/go-gitea/gitea/releases/tag/v1.11.5 Also applying the patch which fixes the wiki-pages, closes #87115. (cherry picked from commit 5467751)
Thanks to all! Just patching the wiki now and waiting for the imminent gitea 1.12 release is much better. 👍 |
https://github.com/go-gitea/gitea/releases/tag/v1.11.5 Also applying the patch which fixes the wiki-pages, closes NixOS#87115. (cherry picked from commit 5467751)
as gitea 1.11 does not support go 1.14
Motivation for this change
This repairs the gitea wiki on NixOS 20.03, and therefore should be backported.
See go-gitea/gitea#10552 for upstream issue.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)