Firstly, I don’t know if this is just an issue with my current configuration but when I build R-4.0.4 from nixpkgs on darwin it breaks with a missing dependency on cairo-xlib
. I have fixed it in my local repo by including cairo
in the arguments and the buildInputs
and also added to all-packages.nix
:
cairo.override { x11Support = true; };
This works now on my system, but I don’t know if this is the correct way to handle things. What is the best way to go about fixing this?