17 Aug 2025 |
Sergei Zimmerman (xokdvium) | Welp boost doesn't ship pkg-config and never will | 21:36:58 |
Sergei Zimmerman (xokdvium) | Not sure that is a good idea in general. Boost is a mess, no doubt there's a 1000 ways this could blow up if we try to be clever and add boost's include paths to the public flags | 21:38:55 |
emily | it's expected by pkg-config that things required for header dependencies are included in the public flags though, no? | 21:39:27 |
emily | the alternative is that the Nix libraries should at least propagatedBuildInputs it I suppose | 21:39:41 |
Sergei Zimmerman (xokdvium) | It does | 21:39:45 |
Sergei Zimmerman (xokdvium) | (Propagate the build inputs that is) | 21:39:59 |
fzakaria | Not sure why it doesn't find it though maybe the hook for pkg-config doesn't work on propagatedBuildInputs | 21:40:35 |
fzakaria | I put a full reproducer | 21:40:38 |
fzakaria | so everyone who uses boost in a C++ project; has a broken pkg-config setup by default?
(irrespective of Nix) | 21:41:06 |
Sergei Zimmerman (xokdvium) | Yes. It's best consumed via CMake, though it's weird | 21:42:41 |
emily | oh, probably the issue is that you're depending on nix . | 21:45:27 |
emily | rather than the correct component package. | 21:45:31 |
emily | because of the split build. | 21:45:33 |
emily | I guess it's a bug in the combined package. | 21:45:42 |
Sergei Zimmerman (xokdvium) | Yeah, that stuff is going away soon either way | 21:50:07 |
18 Aug 2025 |
fzakaria | Here is another "oddity" of the separate SOs. I want to just pull in nix-store but it complains:
The program must call nix::initNix()
That only exists in nix-main :(
| 03:33:09 |
fzakaria | I think you can do initLibStore so the message is just wrong | 03:34:03 |
Artturin | In reply to @xokdvium:matrix.org Welp boost doesn't ship pkg-config and never will In nixpkgs it does https://github.com/NixOS/nixpkgs/pull/315998/commits/4dc3f5aa9bd08d1b5c5c518b4cd168083a668f81 😄 | 10:59:14 |
Artturin | And the reason can be seen in the pr message | 10:59:57 |
Artturin | In reply to @emilazy:matrix.org for some reason I added it because of your issue https://github.com/NixOS/nixpkgs/issues/86131 | 11:03:24 |
Artturin | * Funnily enough, I added it because of your issue https://github.com/NixOS/nixpkgs/issues/86131 | 11:05:04 |
| knownasred set a profile picture. | 14:25:57 |
| knownasred changed their display name from redblueflame to knownasred. | 14:26:03 |
emily | ah yeah Meson dependency detection is cursed | 15:57:25 |
emily | it's a bit scary that people might assume they can rely on Boost having .pc files though | 15:57:41 |
dramforever | boost-finding environment variables | 16:00:01 |
emily | like loop-finding-jazz-records | 16:01:59 |
19 Aug 2025 |
magic_rb | i remember there being a recent change wherein nix wont use /tmp for build anymore? cant find the pr now, does anyone know the name/number? | 16:46:05 |
magic_rb | or am i imagining things | 16:48:03 |
emily | it was part of the CVE fixes backported from Lix, so no PR | 16:51:50 |