Handle fixed point buildRebar3/buildMix builders#47
Handle fixed point buildRebar3/buildMix builders#47camelpunch merged 4 commits intocode-supply:mainfrom
Conversation
lazy_html doesn't appear to be a CMake project. Listing cmake as a nativeBuildInputs breaks when nixpkgs is bumped, as it starts getting detected as CMake and CMake fails to find its CMakeLists.txt. See #47
|
@adamcstephens when you get a moment, please rebase. I think that commit I made to main might just make this build go through. |
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/ffcdcf99d65c61956d882df249a9be53e5902ea5?narHash=sha256-lz718rr1BDpZBYk7%2BG8cE6wee3PiBUpn8aomG/vLLiY%3D' (2025-11-05)
→ 'github:nixos/nixpkgs/b63fe7f000adcfa269967eeff72c64cafecbbebe?narHash=sha256-CIS/4AMUSwUyC8X5g%2B5JsMRvIUL3YUfewe8K4VrbsSQ%3D' (2026-03-28)
4a7ce13 to
3ed7c79
Compare
This comment was marked as resolved.
This comment was marked as resolved.
- nixfmt-rfc-style -> nixfmt - use a shared beamPackages everywhere - remove confusing `with pkgs;`
73cf86d to
ee210b0
Compare
|
Everything is passing on aarch64-darwin. Everything but tokenizers is passing on x86_64-linux, which appears to be a rust compilation failure, possibly due to that project not being touched in two years and rust moving on. As far as the upgrade goes, I think this is good to go. I can push a commit dropping tokenizers from the fixture if you want. |
|
Looks great, thank you! I’ll probably merge this and take a look myself at what can be done about tokenizers. |
|
It looks like the easiest way to fix tokenizers is to use gcc14 for that derivation, or for all native derivations. I've tried setting I'm at a bit of a loss as to how to untangle the spaghetti of nixpkgs, fenix et al to set the version of gcc that cargo ends up using to compile the oniguruma C bits. I'm very tempted to just say tokenizers doesn't work anymore, though! |
|
Ah, digging a bit deeper that oniguruma dep is archived: https://github.com/kkos/oniguruma |
Oniguruma is a distant dependency of tokenizers. It's been archived, and is not compatible with gcc 15+. So, use the nixpkgs-provided oniguruma, which solves compatibility problems its own way. See #47 for background.
|
I've requested an upstream dependency bump in tokenizers so we could eventually remove the workaround: elixir-nx/tokenizers#67 |
We'll also need NixOS/nixpkgs#503941 to properly merge
env. edit: merged and included here.Fixes #45