Skip to content

fix(git): switch to forgejo-cli - #390

Merged
sheeeng merged 1 commit into
unstablefrom
fix/codeberg-cli-removed
Oct 29, 2026
Merged

sheeeng merged 1 commit into
unstablefrom
fix/codeberg-cli-removed

Conversation

@sheeeng

@sheeeng sheeeng commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace the removed codeberg-cli package with its recommended
    replacement, forgejo-cli.

Commit Groups

  • fix(git): switch to forgejo-cli

Notes

  • nixpkgs dropped codeberg-cli because it archived upstream
    (codeberg-cli: drop NixOS/nixpkgs#576997), which broke evaluation of any
    configuration referencing it.
  • Verified by evaluating .#nixosConfigurations."p50".config.system.build.toplevel
    (no alias abort) and building
    .#nixosConfigurations."p50".pkgs.forgejo-cli directly.
  • nix fmt and nix flake check both pass.

nixpkgs removed codeberg-cli because it archived upstream. Replace
it with forgejo-cli, the package nixpkgs recommends as a
replacement, which provides the same Codeberg and Forgejo
command-line functionality.

Fix NixOS/nixpkgs#576997.

Signed-off-by: Leonard Sheng Sheng Lee <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 29, 2026 09:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the CLI package replacement and documentation-link update.

No open issues 🎉

What changed in this PR

Replace the removed codeberg-cli package with forgejo-cli in the shared Home Manager Git configuration to restore evaluation with current nixpkgs.

Changes:

  • Switch the package dependency to forgejo-cli.
  • Update the package documentation URL to match.
File Description
home-manager/​packages/​git/​default.nix Replace codeberg-cli with forgejo-cli and update its documentation link.

Review effort: Balanced

@sheeeng
sheeeng merged commit 2abfd5e into unstable Oct 29, 2026
16 checks passed
@sheeeng
sheeeng deleted the fix/codeberg-cli-removed branch October 29, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants