You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to a limitation in bundix when you depend on gems with native extensions. Current solutions are either maintaining separate unique gemset.nix files for each build arch (e.g. aarch64-darwin-gemset.nix) or mirroring what nixpkgs does to ensure it builds (passing --use-system-libraries and providing properly configured zlib, libxml2, libxslt, and on Darwin libiconv).
I ran into this issue as well (aarch64-darwin, M1 Mac Air).
Hi,
I generated a clean Ruby on Rails application using
rails new test --api
Then I did
nix run nixpkgs#bundix -- --ruby=ruby_3_1
to get thegemset.nix
When I try using the
flake.nix
provided here it fails withI discovered there's a difference between your
gemset.nix
and the one I got:mini_portile2
as a dependency as your does - https://github.com/the-nix-way/nix-flake-dev-environments/blob/main/ruby-on-rails/gemset.nix#L4730pycpibz5vnlp3rdsn1y102kdwyijn86wg05nbjqgizadz31nkrl
which doesn't match yours0g7axlq2y6gzmixzzzhw3fn6nhrhg469jj8gfr7gs8igiclpkhkr
I don't see any special options being passed to nokogiri in your flake configuration. How did you make this work?
The text was updated successfully, but these errors were encountered: