!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

891 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
20 Feb 2025
@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.orgRobert Hensing (roberth) 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.orgRobert Hensing (roberth)clangd 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.orgRobert Hensing (roberth)might have done that with a mix of gcc and clang. retrying with clang only22:22:44
@roberthensing:matrix.orgRobert Hensing (roberth)oh same22:22:54
@roberthensing:matrix.orgRobert Hensing (roberth)ok, was perhaps premature to test. Will try again tomorrow?22:25:26
@Ericson2314:matrix.orgJohn Ericson sorry about that, it worked for me! 22:32:31
@Ericson2314:matrix.orgJohn Ericsonit was the last thing I fixed, however22:32:59
@roberthensing:matrix.orgRobert Hensing (roberth)np. I shouldn't complain22:33:01
@Ericson2314:matrix.orgJohn Ericson src/libutil/nix/meson.build is config_h defined in there? 22:33:06
@roberthensing:matrix.orgRobert Hensing (roberth)seems so22:33:40
@Ericson2314:matrix.orgJohn EricsonI'll clean and start again22:33:57
@Ericson2314:matrix.orgJohn Ericsonah, reproduced it now22:37:42
@emilazy:matrix.orgemily John Ericson: I believe you do want <nix/…> because that will suppress warnings for the headers 23:03:38
@emilazy:matrix.orgemily(don't quote me on this though)23:03:42
@Ericson2314:matrix.orgJohn Ericson emily: OK 23:04:58
@Ericson2314:matrix.orgJohn Ericson I just did "..." caux lix did heh 23:05:06
@Ericson2314:matrix.orgJohn EricsonI do think once it is installed, it is a "system header"23:05:20
@Ericson2314:matrix.orgJohn Ericsonso it certainly it should be <,..>23:05:53
@Ericson2314:matrix.orgJohn Ericson * so it certainly it should be <....> 23:06:00

Show newer messages


Back to Room ListRoom Version: 6