Closed PowerUser64 closed 4 months ago
👋 It sounds like you are using a newer nixpkgs than me and your pipewire requires a newer version of libcamera than is pinned in this project. This project pins libcamera to the raspberry pi fork so that rpi camera stuff will work as it does on official images. If you don't care about that you can disable it with raspberry-pi-nix.libcamera-overlay.enable = false
(option docs).
Whew, finally got everything compiled. Good news, disabling the libcamera overlay worked! I was able to compile the kernel and restart with no issue! Thank you!
No problem! I'm glad you got it working.
As mentioned in https://github.com/tstat/raspberry-pi-nix/issues/20
I also have a libcamera issue. mine seems to be missing pybind11
build dependency. Disabling it works ofc, but preferably if we can address the issues no? I'll see if I get around to fixing it to open a PR.
Libcamera (along with all other packages provided by this repo, except optionally the kernel) is simply provided in an overlay and does not fix the build inputs. So, it is easy to find versions of nixpkgs for which packages do not build.
So what's the best course of action? Pinning or Going with whatever is latest and occasionally fix what becomes broken? (Personally I like staying up to date as sometimes the thing you maintain becomes upstream changes and you no longer have to maintain :))
I'm not sure. Up until now I just made sure everything worked with the latest stable release (although I haven't rebuilt for 24.05 yet). I'm thinking I should pin everything by default and just have options to disable the pinning if desired.
I've been getting an error for the past months, and it turns out it's from this project. Pipewire expects libcamera v0.2.0 or later, but raspberry-pi-nix has an overlay that makes it v0.1.0. Is there anything that can be done to update it?
See also: https://discourse.nixos.org/t/44644