Question on Silo pkg (MinIO fork)

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”\];
};
}
  1. 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.
  2. 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.
  3. 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

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.