!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

421 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.142 Servers

Load older messages


SenderMessageTime
28 Jul 2025
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) extern Logger* logger (I'm talking about this one) 21:16:09
@jade_:matrix.orgjade_ weird that our code isnt fucked 21:16:15
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)you can do the very simple experience by checking out the mTLS CL21:16:19
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)remove flat_namespace21:16:20
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)add the plugin21:16:22
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) and sprinkle printInfo("hello world") 21:16:29
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and observe nothing happens21:16:32
@jade_:matrix.orgjade_nothing happens is a very weird outcome21:16:43
@jade_:matrix.orgjade_i would hope it to crash instead21:16:57
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)maybe something something min macos version idk21:17:07
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)but also21:17:15
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)maybe if ((level) <= nix::verbosity)21:17:19
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)idk21:17:20
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)maybe it exec and just lives its best life21:17:26
@jade_:matrix.orgjade_yeah printInfo might not do anything?? but if you fix it by messing with the link args then surely it's not that. i would have to look at it with instruction level step through with a debugger tbh21:17:52
@jade_:matrix.orgjade_but im currently banging rocks together (writing terraform at work to get gerrit for OSS stuff)21:18:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) nix::verbosity is just extern Verbosity verbosity tho 21:18:14
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)it's fine21:18:28
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) https://git.lix.systems/lix-project/lix/issues/941 22:01:45
@emilazy:matrix.orgemily is nix_plugin_entry not that? 22:14:26
@emilazy:matrix.orgemily(I am looking at the plugin code for the first time)22:14:30
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)yes22:14:36
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)but logger doesn't work at that point22:14:46
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and I don't see what facilities do we have to initialize the logger22:14:52
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and if we plan to reuse the Lix's logger22:14:58
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)then it's clearly not accessible22:15:03
@emilazy:matrix.orgemilycould you show me the command used to link the plugin btw?22:15:52
@emilazy:matrix.orgemilyI half suspect Meson. Meson has some weird ideas about macOS22:16:18
@emilazy:matrix.orgemilyin particular22:16:27
@emilazy:matrix.orgemily

This is useful for building modules that will be dlopen()ed and hence may contain undefined symbols that will be provided by the library that is loading it.

22:16:32

Show newer messages


Back to Room ListRoom Version: 10