nix-community / bundix

Generates a Nix expression for your Bundler-managed application. [maintainer=@manveru]
160 stars 54 forks source link

Make it possible to run Bundix without Nix tools in some cases #116

Open whitequark opened 1 month ago

whitequark commented 1 month ago

While working on one of my projects I found that it is useful to maintain an up-to-date copy of Gemfile.lock in the format of gemset.nix without requiring the use of Nix tools. Fortunately, all that nix-prefetch-url in the "flat" mode does is formatting an SHA256 hash in a weird way, which is just as easy to do with Ruby alone.