!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

978 Members
For people hacking on the Nix package manager itself208 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Feb 2025
@Ericson2314:matrix.orgJohn Ericson that solution avoids moving source files around, which will make Eelco happy. (More seriously, it will keep the headers next to their corresponding sources, which he said he likes) 18:38:44
@emilazy:matrix.orgemily why can't you just do #include <nix/…> in the headers, have src/lib<blah>/include/nix be where the headers are, and add the built lib<blah>s as normal Meson dependencies? 18:39:02
@emilazy:matrix.orgemilyI don't think you need any symlink hacks to make that work18:39:07
@Ericson2314:matrix.orgJohn Ericson you need the symlink hack if you want foo.hh next to foo.cc 18:39:23
@Ericson2314:matrix.orgJohn EricsonI am happy to have that conversation with the rest of the team, but I don't think we should be blocked on that18:39:53
@Ericson2314:matrix.orgJohn Ericson the symlink hack is only in the source tree 18:40:03
@Ericson2314:matrix.orgJohn Ericsonin the installed outputs, everything is normal18:40:13
@Ericson2314:matrix.orgJohn Ericson and also importantly, were not doing anything like sedding-in the #include "nix/... either, which would screw over meson subproject stuff 18:40:41
@emilazy:matrix.orgemilyalright. well since it doesn't affect any downstream user I guess it doesn't really matter. just seems silly to me18:40:47
@Ericson2314:matrix.orgJohn Ericson(and I do use that, to work on hydra and nix-eval-jobs and nix all at once, it's nice!)18:40:56
@emilazy:matrix.orgemilyI think you could construct the symlink hack inside the Meson build rather than polluting the source tree with it.18:41:04
@emilazy:matrix.orgemilyit supports generated include stuff etc.18:41:09

Show newer messages


Back to Room ListRoom Version: 6