I wanted to see if I could get some help on my nixpkg for Silo (GitHub - pgsty/minio: Community Maintained Fork of minio (Object Storage Service) · GitHub ).
{
lib,
buildGo126Module,
fetchFromGitHub,
}:
buildGo126Module rec {
pname = “silo”;
commitDate = “2026-04-17T07:06:42Z”;
versionDate = builtins.substring 0 10 commitDate;
versionYear = builtins.substring 0 4 commitDate;
releaseTag = “RELEASE.2026-04-17T07-06-42Z”;
shortRev = builtins.substring 0 12 rev;
rev = “f48dbe777d0e066d2e74d5e671a8ca21c2ec1664”;
version = “unstable-${versionDate}-${shortRev}”;
src = fetchFromGitHub {
owner = “pgsty”;
repo = “minio”;
inherit rev;
hash = “sha256-iU2Tjq3mQzpzziiRMlX2s38oh1pZf3bqH8NcWqLRBeE=”;
};
vendorHash = “sha256-/oGOU4WOZ4k7ycVh0peI4j0vHw2DfTC2Z21NqELndiA=”;
subPackages = \[“.”\];
env.CGO_ENABLED = 0;
tags = \[“kqueue”\];
ldflags = \[
“-s”
“-w”
“-X github.com/minio/minio/cmd.Version=${commitDate}”
“-X github.com/minio/minio/cmd.ReleaseTag=${releaseTag}”
“-X github.com/minio/minio/cmd.CommitID=${rev}”
“-X github.com/minio/minio/cmd.ShortCommitID=${shortRev}”
“-X github.com/minio/minio/cmd.CopyrightYear=${versionYear}”
\];
postInstall = ‘’
mv “$out/bin/minio” “$out/bin/silo”
‘’;
meta = {
description = “Community-maintained fork of MinIO packaged as silo”;
homepage = “https://github.com/pgsty/minio”;
changelog = “https://github.com/pgsty/minio/releases/tag/${releaseTag}”;
maintainers = with lib.maintainers; \[randoneering\];
license = lib.licenses.agpl3Only;
mainProgram = “silo”;
platforms = \[“x86_64-linux”\];
};
}
I don’t see a typical “version” number for this. I can only see the releases in Github, but they use the date of the release as the version.
I have this running on a nixos server in my production environment, so I know that platform is covered. However, I cannot find other supported platforms in the repo. I know its a fork, so technically I can look at the original repo for minIO, but wanted to get your thoughts here.
There is a cli as well, but that is a different package I might build if it is worth it.
Just looking for feedback or suggestions!
I think we just remove the “RELEASE.” prefix. MinIO version in nixpkgs is “2025-10-15T17-29-55Z”.
Good point. Should have considered the latest release of minIO in nixpkgs.
1 Like
master ← randoneering:init-silo
opened 05:06PM - 29 May 26 UTC
This PR contains the community forked minio project, later called "silo." I have… been running this on one of my NixOS servers for about 5 days now without any issues. Since minio is no longer maintained and the package itself has been deemed "unsecure", this would be as close to a "drop in" replacement.
I mirrored the exiting minio pkg as much didn't change-but I noticed the platforms section was missing from the metadata. So I left it as such. Let me know if I need to change this as I only ran this on x86_64-linux.
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
## Things done
- Built on platform:
- [x] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- Tested, as applicable:
- [ ] [NixOS tests] in [nixos/tests].
- [ ] [Package tests] at `passthru.tests`.
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [x] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [ ] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
- [x] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
- [x] Follows the [automation/AI policy].
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[automation/AI policy]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#automationai-policy
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test
If anyone wants to take a look!
Question: how’s Silo stack up to Minio vs, say, garage?
Honestly, I haven’t used garage. I have only used Minio. I was going to try out garage until I saw this fork.