16 Oct 2024 |
K900 | How did it work before? | 17:28:50 |
K900 | Propagated unnecessarily + | 17:29:01 |
K900 | ? | 17:29:03 |
Alyssa Ross | It's not that the pixman dependency in undeclared in Nixpkgs, it's that it's pixman-1/pixman.h or whatever, so unless you tell pkg-config to look for pixman it's not getting found | 17:29:47 |
K900 | Yeah but like how did downstreams find it before | 17:30:12 |
K900 | Did wlroots propagate it | 17:30:23 |
Alyssa Ross | I don't know | 17:30:49 |
Alyssa Ross | it wouldn't be wrong for it to propagate it though | 17:30:57 |
K900 | Fun | 17:31:06 |
K900 | I mean now it would be right to propagate it | 17:31:14 |
emily | In reply to @k900:0upti.me @Randy Eckenrode @emily nix build .#wezterm on -next tries to eval apple-sdk on Linux you mean? | 17:36:51 |
emily | I can take a look | 17:36:55 |
K900 | In reply to @emilazy:matrix.org on Linux you mean? Ye | 17:37:03 |
emily | ok, I'll look in a little bit | 17:38:40 |
Alyssa Ross | K900okay yeah I don't know the right thing to do here
| 17:44:22 |
Alyssa Ross | wlroots has a bunch of optional dependencies that we'll enable, but some dependents won't use | 17:44:33 |
Alyssa Ross | for example, cage doesn't use vulkan | 17:44:37 |
Alyssa Ross | there's no way for pkg-config to encode that it should look up the headers for a library if it exists, but not complain if it doesn't, is there? | 17:45:10 |
Alyssa Ross | I guess the pkg-config file should only list dependencies that will always be required?
| 17:45:23 |
K900 | idk this feels weird | 17:46:24 |
Alyssa Ross | I think that's the best option | 17:46:44 |
K900 | I'm sorry I think I'm too zonked to think about it right now | 17:46:50 |
Alyssa Ross | https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1630 | 18:04:43 |
Alyssa Ross | I'm a bit worried that we might be about to run into a lot of these | 18:06:08 |
K900 | I really hope not because pixman doesn't have many direct dependents | 18:09:09 |
Alyssa Ross | I don't think anything about this is unique to pixman | 18:10:08 |
K900 | Well the others are glib and freetype but only on Darwin for some reason and those I'd expect to get pulled in directly | 18:10:38 |
K900 | And I'd expect things to mostly pull those in directly | 18:10:48 |
Alyssa Ross | https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4859 | 18:16:37 |
K900 | Sorry for making you do this BTW | 18:17:50 |