Skip to content

silo: init at 2026-06-18T00-00-00Z - #525650

Merged
aanderse merged 1 commit into
NixOS:masterfrom
randoneering:init-silo
Jul 24, 2026
Merged

aanderse merged 1 commit into
NixOS:masterfrom
randoneering:init-silo

Conversation

@randoneering

@randoneering randoneering commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

Silo (github.com/pgsty/minio) is a community-maintained fork of MinIO by the Pigsty (https://pigsty.io) project. Changes from upstream MinIO are minimal. It restores the embedded management console version reference and updates docs/Go module paths. The binary is renamed from minio to silo.

It exists because MinIO Inc. moved features (WebUI, LDAP/OIDC, distributed erasure coding) into their proprietary AIStor product. Silo keeps the fully open-source (AGPLv3) MinIO alive with continued maintenance, binary releases, and security backports. This is essentially a drop-in replacement for anyone who needs the full-featured open-source MinIO.

Because I was not confident in my choice for the version, I reached out in discourse:

https://discourse.nixos.org/t/question-on-silo-pkg-minio-fork/77900

Update 2026-07-23

Go toolchain

pgsty/minio declares go 1.26.4 in its go.mod, but nixpkgs currently pins go_1_26 to 1.26.3. To build with the available toolchain, the postPatch step rewrites the directive to 1.26.3.

If the build fails or pgsty/minio actually requires a 1.26.4-only feature, three workarounds are available:

  • Toolchain auto-switch: set GOTOOLCHAIN=go1.26.4+auto via prePatch. Go fetches the matching SDK on first build and caches it. Currently blocked: the Nix sandbox blocks the toolchain download because buildGoModule forces GOPROXY=off for reproducibility.
  • Build go 1.26.4 from source: buildGoModule.override { go = go_1_26.overrideAttrs (_: { version = "1.26.4"; src = fetchurl { url = "..."; sha256 = "..."; }); }`. Adds 5–10 minutes per build for the Go toolchain compile.
  • Wait for nixpkgs: drop the postPatch substitute once nixpkgs bumps go_1_26 past 1.26.4

If what I added doesn't make sense, please let me now.

Things done

@randoneering
randoneering force-pushed the init-silo branch 2 times, most recently from 31eb500 to 8ec8b8c Compare May 29, 2026 18:01
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels May 29, 2026
@randoneering
randoneering force-pushed the init-silo branch 2 times, most recently from d5c41d5 to 84fa8bf Compare May 29, 2026 19:41
Comment thread pkgs/by-name/si/silo/package.nix Resolved
@randoneering

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 525650
Commit: 84fa8bf16c89725a6dd30e3a82ce6d5bd3de6f75


x86_64-linux

✅ 1 package built:
  • silo

@randoneering
randoneering requested a review from felbinger May 29, 2026 20:37
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label May 29, 2026
@felbinger felbinger added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label May 29, 2026
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/question-on-silo-pkg-minio-fork/77900/4

@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label May 29, 2026
@felbinger

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 525650
Commit: 2c97d73ab18f9c98692157ec7a83677a65c73cc3 (subsequent changes)
Merge: b8b4a6fb910ad38117f616ad374ad9425eff7b0a

Logs: https://github.com/felbinger/nixpkgs-review-gha/actions/runs/26667257990


x86_64-linux

✅ 1 package built:
  • silo

aarch64-linux

✅ 1 package built:
  • silo

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • silo

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • silo

Comment thread pkgs/by-name/si/silo/package.nix Resolved
Comment thread pkgs/by-name/si/silo/package.nix Resolved
@randoneering
randoneering force-pushed the init-silo branch 2 times, most recently from 9a07cf0 to e7ac4d0 Compare May 30, 2026 20:12
@randoneering

Copy link
Copy Markdown
Contributor Author

@devusb thanks for the comments. I updated the buildGoModule with finalAttrs but left the buildGo126Module as is. If I have to go back and change it next time, that is fine.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 1, 2026
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/7019

@randoneering

Copy link
Copy Markdown
Contributor Author

Anything else we can do to get this pushed along? Please and thank you!

Comment thread pkgs/by-name/si/silo/package.nix Resolved
Comment thread pkgs/by-name/si/silo/package.nix Resolved
Comment thread pkgs/by-name/si/silo/package.nix Resolved
@randoneering

Copy link
Copy Markdown
Contributor Author

Suggestions completed. I did not add the following suggestions as I feel that it is more of a nitpick.

   - mv "$out/bin/minio" "$out/bin/silo"
   + ln -s "$out/bin/minio" "$out/bin/silo"

Since we are renaming the $out path here, I don't see the need for a symlink.

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/3084

@randoneering

Copy link
Copy Markdown
Contributor Author

@SuperSandro2000 I have made the requested changes.

@randoneering

Copy link
Copy Markdown
Contributor Author

@SuperSandro2000

Could you help push this along now, please?

@randoneering

Copy link
Copy Markdown
Contributor Author

Anyone want to help out here?

@lblasc

lblasc commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

@randoneering can you update PR with latest release

@randoneering randoneering changed the title silo: init at 2026-04-17T00-00-00Z silo: init at 2026-06-18T00-00-00Z Jul 23, 2026
@randoneering

Copy link
Copy Markdown
Contributor Author

@lblasc done! Thank you for pointing that out. Hopefully this can get merged soon. I know the open PR count is absolutely bonkers. Thank you for your input.

@lblasc lblasc 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.

  • Wait for nixpkgs to bump go_1_26 past 1.26.4

@randoneering can you target staging branch, you can remove this patch, what I can see there golang is >1.26.4 rebase should be enough

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jul 24, 2026

@aanderse aanderse 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.

just built it, did a real quick run... looks good to me

thank you very much for this @randoneering - i think this is helpful to quite a few people! 🚀

@aanderse
aanderse added this pull request to the merge queue Jul 24, 2026
@randoneering

Copy link
Copy Markdown
Contributor Author

just built it, did a real quick run... looks good to me

thank you very much for this @randoneering - i think this is helpful to quite a few people! 🚀

Thank you! I have been using it for over two months and it's been working like a charm!

Merged via the queue into NixOS:master with commit 89448b2 Jul 24, 2026
31 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants