nix-community / raspberry-pi-nix

NixOS modules to aid in configuring NixOS for raspberry pi products
MIT License
144 stars 34 forks source link

Fix libcamera build #42

Closed tshakah closed 1 month ago

tshakah commented 1 month ago

This backports the postPatch change from nixpkgs to the libcamera overlay so the build doesn't break, and also changes the rpicam-apps overlay so it builds properly now.

The version in the libcamera overlay has been fixed to match upstream.

Note that whilst this now builds for me, actually trying to use a HQ cam segfaults.

SebTM commented 1 month ago

@tstat Is there a reason this is on hold? Is there a reason to or not to have binary-cache for libcamera?

tstat commented 1 month ago

Thanks for the ping. I missed the notification for this PR I guess. Great work!

Adding a check to build it so it gets put in the nix-community cache is also a good idea.