3 ms·
We're doing a project right now to try to migrate to using nix for our python code that runs on a raspberry pi. It's been great in many areas, but pretty annoyi
by ninetax 6y ago
We're doing a project right now to try to migrate to using nix for our python code that runs on a raspberry pi. It's been great in many areas, but pretty annoying when something doesn't work. You have to dig deep to fix errors.
Of course we're trying to get numpy to cross compile from x86 to armv7 which involves cross compiling gfortran to get blas... so I guess a few bugs [1] are expected.
Otherwise I've been really impressed.
https://github.com/NixOS/nixpkgs/issues/88449 https://github.com/NixOS/nixpkgs/issues/88449
- tomberek 6y agoCross-compiling is finicky in any ecosystem, things like numpy especially so. When working on armv7 projects, I got a few TinkerBoards and ran the builds native. The first one took a while, but i just kept my binary cache up to date and normal CI/CD builds were fast. I'd also push core builds to https://arm.cachix.org https://arm.cachix.org. I haven't updated it recently, but I am considering doing that again.