Generates Nix expressions for Bundler-managed Ruby applications to package them with the Nix package manager.
Bundix is a tool that generates Nix expressions for Ruby applications managed by Bundler. It solves the problem of packaging Bundler-based Ruby projects with the Nix package manager by automatically fetching cryptographic hashes for all gem dependencies and formatting them into a Nix-compatible `gemset.nix` file.
Ruby developers who want to package their applications using Nix for reproducible builds and dependency management, particularly those working within the NixOS ecosystem or integrating Ruby projects into Nix-based infrastructure.
Developers choose Bundix because it dramatically simplifies the process of adapting Bundler-managed Ruby applications to Nix, offering performance optimizations that reduce download times and bandwidth usage while producing stable, auditable output.
Generates a Nix expression for your Bundler-managed application. [maintainer=@manveru]
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Checks local Bundler cache, remote APIs like rubygems.org, and the Nix store to minimize downloads, saving bandwidth and time as described in the README.
Uses a built-in pretty printer for gemset.nix files, ensuring consistent formatting and easier diff auditing for gem updates.
Can parse existing gemset.nix files to reuse known hashes, allowing updates in seconds rather than refetching all dependencies.
Requires Nix to be installed and configured, adding complexity for developers only familiar with Bundler and Ruby workflows.
Only handles Ruby gem dependencies; other build steps, system libraries, or non-Ruby dependencies must be managed separately in Nix expressions.
The README admits it might become outdated, relying on the nixpkgs manual, which can lead to confusion if documentation isn't maintained.