25 Jun 2025 |
Tristan Ross | https://github.com/NixOS/nixpkgs/pull/365057 almost half a year old now | 19:27:20 |
emily | I will hopefully have time this weekend to catch up on my review backlog. (there's Darwin stuff I need to get to as well) | 19:32:49 |
emily | at a glance cxxrtlib is still wrong though | 19:32:54 |
emily | we don't currently use libcxxrt anywhere I don't think, certainly not on Linux | 19:33:21 |
emily | (FreeBSD probably should but currently doesn't) | 19:33:27 |
Tristan Ross | In reply to @emilazy:matrix.org we don't currently use libcxxrt anywhere I don't think, certainly not on Linux Huh, what should the value be then? | 23:07:27 |
emily | depends on the platform – but libstdc++ is coupled to libsupc++ for RTTI/exceptions and I think we use libstdc++ on most platforms right now | 23:13:26 |
Tristan Ross | Oh, so it should be null or libstdc++? | 23:30:06 |
emily | it should presumably be libsupc++ on Linux at least. | 23:37:19 |
26 Jun 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://github.com/NixOS/nixpkgs/pull/420107
Why we didn't switch to pkgconf like Arch Linux did | 03:47:24 |
Tristan Ross | I lost the issue but we had a discussion on it, I don't remember the outcome. | 03:54:00 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Oh right, here | 03:56:15 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://github.com/NixOS/nixpkgs/issues/334195 | 03:56:18 |
Tristan Ross | Ah yeah, it looks like it won't be too long until we can do it. If we get it merged soon, 25.11 would be the version to start transitioning things. Likely drop in 26.05. | 04:00:12 |
Tristan Ross | https://github.com/NixOS/nixpkgs/pull/394610 | 04:00:23 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @rosscomputerguy:matrix.org https://github.com/NixOS/nixpkgs/pull/394610 So it is trying to standarise this behavior?
pkg-config is patched to ignore Requires.private for --cflags without --static , whereas libpkgconf is not. I believe such a change also has to be made for pkgconf to be viable.
| 04:01:14 |
Tristan Ross | I think so, haven't fully read into it. | 04:01:32 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I think we should consider dropping pkg-config (at least as default) soon as it will fail to build and upstream is inactive | 04:03:12 |
Alyssa Ross | In reply to @aleksana:mozilla.org
So it is trying to standarise this behavior?
pkg-config is patched to ignore Requires.private for --cflags without --static , whereas libpkgconf is not. I believe such a change also has to be made for pkgconf to be viable.
I thought we had a plan to avoid that issue by using absolute paths in .pc files. I think there was even a PR. The change we need made to pkgconf is to have it support overriding variables from .pc files with environment variables like pkg-config does. Until that's implemented, we can't switch. It would likely not be very hard to implement in pkgconf upstream. | 06:10:37 |
emily | In reply to @aleksana:mozilla.org https://github.com/NixOS/nixpkgs/pull/420107
Why we didn't switch to pkgconf like Arch Linux did @rosscomputerguy:matrix.org we don't do conditional patches if we can avoid it, the original unconditional + targeting stagimg was better | 11:07:28 |
Alyssa Ross | I thought we had this documented even but couldn't find it | 11:07:52 |
Randy Eckenrode | https://github.com/catchorg/Catch2/issues/2991 is broken by Clang 20. Any C++ people here have an idea what the fix is? | 13:18:47 |
Randy Eckenrode | https://github.com/llvm/llvm-project/issues/140519 Maybe Clang bug? Fun. | 13:24:55 |
emily | probably just disable the test? | 13:32:19 |
Tristan Ross | Stdenv team is on the website https://nixos.org/community/teams/stdenv/ | 15:18:52 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @qyliss:fairydust.space I thought we had a plan to avoid that issue by using absolute paths in .pc files. I think there was even a PR. The change we need made to pkgconf is to have it support overriding variables from .pc files with environment variables like pkg-config does. Until that's implemented, we can't switch. It would likely not be very hard to implement in pkgconf upstream. So that PR alone isn't sufficient for switching to pkgconf yet? | 15:29:03 |
K900 | It will break things | 15:29:20 |
K900 | If we switch with just that PR | 15:29:29 |
| nhnn joined the room. | 16:04:40 |
Tristan Ross | Done | 20:42:34 |