!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

951 Members
For people hacking on the Nix package manager itself201 Servers

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


SenderMessageTime
20 Feb 2025
@Ericson2314:matrix.orgJohn Ericson CC ^ Robert Hensing (roberth) 22:10:31
@roberthensing:matrix.orgroberthooh22:11:56
@roberthensing:matrix.orgroberth github diff 22:12:01
@emilazy:matrix.orgemily looks reasonable to me :) is "nix/…" rather than <nix/…> correct for the installed headers? (also, I think nix/ rather than include/nix/ is still kinda bad because you're still going to be including .cc files etc. in the include path, unless I'm misreading) 22:12:07
@Ericson2314:matrix.orgJohn Ericsonit could be <....>22:12:28
@Ericson2314:matrix.orgJohn Ericsonnot sure!22:12:31
@Ericson2314:matrix.orgJohn Ericson

also, I think nix/ rather than include/nix/ is still kinda bad because you're still going to be including .cc files etc. in the include path, unless I'm misreading

yes it is!

22:12:51
@Ericson2314:matrix.orgJohn EricsonI suppose if we are moving them, we might as well move them harder22:13:04
@Ericson2314:matrix.orgJohn Ericson however I will still need an include/nix/meson.build 22:14:08
@Ericson2314:matrix.orgJohn Ericson can't use a include/meson.build 22:14:14
@emilazy:matrix.orgemilydo you need a separate Meson file for the headers at all?22:14:34
@Ericson2314:matrix.orgJohn Ericson emily: yes you do unfortunately 22:17:23
@roberthensing:matrix.orgroberth did a fresh worktree, and meson compile is not happy: <command-line>: fatal error: config-util.hh: No such file or directory 22:19:44
@roberthensing:matrix.orgroberthclangd also seems confused22:19:57
@Ericson2314:matrix.orgJohn Ericson the generated header has to be generated in the (build dir mirror of the) directory 22:20:16
@Ericson2314:matrix.orgJohn Ericsonso if we want to ahve one list of headers we append to22:20:25
@emilazy:matrix.orgemily couldn't fs.copyfile solve that? 22:20:33
@Ericson2314:matrix.orgJohn Ericsonwe do need to have that nix/meson.build22:20:36
@Ericson2314:matrix.orgJohn EricsonI think the dest of fs.copyfile must abide by the same rule?22:20:55
@roberthensing:matrix.orgroberthmight have done that with a mix of gcc and clang. retrying with clang only22:22:44
@roberthensing:matrix.orgroberthoh same22:22:54

Show newer messages


Back to Room ListRoom Version: 6