Skip to content

Nix flake build static with sqlite support (#35149) #35225

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

Conversation

6543
Copy link
Member

@6543 6543 commented Aug 6, 2025

Backport #35149

with nix develop -c $SHELL you can enter the dev environment. now with make clean-all generate build -j1 you will get a static linked binary that has sqlite support

outside of an nix dev shell if you set STATIC=true you also will get a static binary

with `nix develop -c $SHELL` you can enter the dev environment.
now with `make clean-all generate build -j1` you will get a static
linked binary that has sqlite support
@GiteaBot GiteaBot added this to the 1.24.5 milestone Aug 6, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 6, 2025
@6543 6543 added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Aug 6, 2025
@lunny
Copy link
Member

lunny commented Aug 6, 2025

Is the backport necessary?

@6543
Copy link
Member Author

6543 commented Aug 7, 2025

it depends for me to proper develop on that branch yes
for most devs no

as for what the risk of this change is: almost nothing

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 7, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 7, 2025
@lafriks lafriks merged commit e5540bf into go-gitea:release/v1.24 Aug 7, 2025
26 checks passed
@lafriks lafriks deleted the backport_nix-flake_allow-CGO-builds branch August 7, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/internal skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants