Skip to content

feat(goreleaser): Add Nix package generation#393

Merged
jedevc merged 2 commits into
unikraft-cloud:prod-stagingfrom
jschlumpp:jschlumpp/feat/nix
Jul 7, 2026
Merged

feat(goreleaser): Add Nix package generation#393
jedevc merged 2 commits into
unikraft-cloud:prod-stagingfrom
jschlumpp:jschlumpp/feat/nix

Conversation

@jschlumpp

@jschlumpp jschlumpp commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Once this generates a usable nix derivation, we can also add a reference in the nur repo.

@jschlumpp
jschlumpp requested a review from jedevc July 2, 2026 15:38
@jedevc
jedevc requested a review from Copilot July 7, 2026 13:14
@jedevc

jedevc commented Jul 7, 2026

Copy link
Copy Markdown
Member

Grabbing a copilot review, because I hate goreleaser config.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds GoReleaser Nix publishing configuration so releases can automatically generate and push a Nix derivation into the unikraft/nur repository.

Changes:

  • Introduces a nix publisher block targeting unikraft/nur with per-OS/arch archive IDs.
  • Configures Nix package metadata (homepage/description/path/main_program) and install steps (binary + man pages).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .goreleaser.ytt
jedevc
jedevc previously approved these changes Jul 7, 2026

@jedevc jedevc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Welp it's worth a try 🎉

Reviewed-by: Justin Chadwell <justin@unikraft.com>
Approved-by: Justin Chadwell <justin@unikraft.com>

jschlumpp and others added 2 commits July 7, 2026 15:16
Signed-off-by: Julia Schlumpp <julia@unikraft.io>
Signed-off-by: Justin Chadwell <justin@unikraft.com>
@jedevc

jedevc commented Jul 7, 2026

Copy link
Copy Markdown
Member

@jschlumpp I added a commit to use the right token, same one as for homebrew (I just added this in another PR just now).

@jedevc
jedevc merged commit a757562 into unikraft-cloud:prod-staging Jul 7, 2026
8 checks passed
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.

3 participants