Skip to content

Conversation

@edenreich
Copy link
Contributor

Implement complete NixOS packaging support with automated workflows and improved documentation for distributing the Inference Gateway CLI as an official nixpkgs package.

Signed-off-by: Eden Reich eden.reich@gmail.com

Implement complete NixOS packaging support with automated workflows and improved documentation for distributing the Inference Gateway CLI as an official nixpkgs package.

Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
- Add default.nix entry point for nix-build
- Update workflow to use default.nix instead of infer.nix directly
- Simplify Darwin framework handling (remove explicit framework dependencies)
- Fix CGO_ENABLED to use env attribute set pattern
- Update src hash: sha256-ObI6zG8noykPhPq6ESohbkHp6gvUY3Q0qYZl32Kj//I=
- Update vendorHash: sha256-BUrb8mvktPPEbokccVEfc2UCLjWP0nTQbLeCxCCb32k=
- Remove deprecated darwin.apple_sdk references

These changes fix the Cachix build failures and follow modern Nix best
practices for buildGoModule packages.

Signed-off-by: Eden Reich <eden.reich@gmail.com>
Change ubuntu-24.0 to ubuntu-24.04 to prevent job from hanging.

Signed-off-by: Eden Reich <eden.reich@gmail.com>
- Rename infer.nix → package.nix (standard nixpkgs name)
- Update default.nix to reference package.nix
- Remove redundant nixpkgs-submission/package.nix
- Update submission README to reference ../package.nix
- Add edenreich as maintainer

Final structure:
  nix/package.nix          - Main package definition
  nix/default.nix          - Entry point wrapper
  nix/nixpkgs-submission/  - Submission guide

Signed-off-by: Eden Reich <eden.reich@gmail.com>
Simplify CI by removing unused Cachix binary cache.
Can be added back later if needed.

Signed-off-by: Eden Reich <eden.reich@gmail.com>
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