!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

873 Members
For people hacking on the Nix package manager itself187 Servers

Load older messages


SenderMessageTime
17 Aug 2025
@fzakaria:one.ems.hostfzakariaI put a full reproducer21:40:38
@fzakaria:one.ems.hostfzakariaso everyone who uses boost in a C++ project; has a broken pkg-config setup by default? (irrespective of Nix)21:41:06
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yes. It's best consumed via CMake, though it's weird21:42:41
@emilazy:matrix.orgemily oh, probably the issue is that you're depending on nix. 21:45:27
@emilazy:matrix.orgemilyrather than the correct component package.21:45:31
@emilazy:matrix.orgemilybecause of the split build.21:45:33
@emilazy:matrix.orgemilyI guess it's a bug in the combined package.21:45:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah, that stuff is going away soon either way21:50:07
18 Aug 2025
@fzakaria:one.ems.hostfzakaria

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:one.ems.hostfzakaria I think you can do initLibStore so the message is just wrong 03:34:03
@artturin:matrix.orgArtturin
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:matrix.orgArtturinAnd the reason can be seen in the pr message10:59:57
@artturin:matrix.orgArtturin
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:matrix.orgArtturin* Funnily enough, I added it because of your issue https://github.com/NixOS/nixpkgs/issues/8613111:05:04
@redblueflame:matrix.orgknownasred set a profile picture.14:25:57
@redblueflame:matrix.orgknownasred changed their display name from redblueflame to knownasred.14:26:03
@emilazy:matrix.orgemilyah yeah Meson dependency detection is cursed15:57:25
@emilazy:matrix.orgemily it's a bit scary that people might assume they can rely on Boost having .pc files though 15:57:41
@dramforever:matrix.orgdramforever boost-finding environment variables 16:00:01
@emilazy:matrix.orgemilylike loop-finding-jazz-records16:01:59
19 Aug 2025
@magic_rb:matrix.redalder.orgmagic_rbi 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:matrix.redalder.orgmagic_rbor am i imagining things16:48:03
@emilazy:matrix.orgemilyit was part of the CVE fixes backported from Lix, so no PR16:51:50
@emilazy:matrix.orgemily build-dir is used now 16:51:54
@magic_rb:matrix.redalder.orgmagic_rbright, thanks :)16:52:28
@joerg:thalheim.ioMic92 https://www.freedesktop.org/software/systemd/man/latest/systemd-nsresourced.service.html @Ericson2314:matrix.org: this might useful for not nix daemon 17:33:19
@joerg:thalheim.ioMic92Nice. Even network support17:34:03
@joerg:thalheim.ioMic92Just don't know if it provides enough flexibility to make the sandbox same way nix does17:36:18
@joerg:thalheim.ioMic92Here is the api: https://github.com/systemd/systemd/blob/1441f2e992181318d00ea42feec886cb223938fd/src/shared/varlink-io.systemd.NamespaceResource.c#L317:43:29
@joerg:thalheim.ioMic92 * https://www.freedesktop.org/software/systemd/man/latest/systemd-nsresourced.service.html @Ericson2314:matrix.org: this might useful for not-root nix daemon 17:43:47

Show newer messages


Back to Room ListRoom Version: 6