the libffi dependeny has a libffi-sys dependency that tries to compile a system lib (fails on nix)
i resolved that by adding a filter to the input cleaner of the crane rust build tool and adding the "system" feature to libffi when built with nix. Like that nothing changes for non-nix users but when using with nix libffi-sys gets pulled from nixpkgs
Hope this is useful
the nix build failed due to 2 reasons
i resolved that by adding a filter to the input cleaner of the crane rust build tool and adding the "system" feature to libffi when built with nix. Like that nothing changes for non-nix users but when using with nix libffi-sys gets pulled from nixpkgs Hope this is useful