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.
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 ofgemset.nix
without requiring the use of Nix tools. Fortunately, all thatnix-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.