!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
28 Jul 2025
@jade_:matrix.orgjade_ weird that our code isnt fucked 21:16:15
@raitobezarius:matrix.orgraitobezariusyou can do the very simple experience by checking out the mTLS CL21:16:19
@raitobezarius:matrix.orgraitobezariusremove flat_namespace21:16:20
@raitobezarius:matrix.orgraitobezariusadd the plugin21:16:22
@raitobezarius:matrix.orgraitobezarius and sprinkle printInfo("hello world") 21:16:29
@raitobezarius:matrix.orgraitobezariusand 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.orgraitobezariusmaybe something something min macos version idk21:17:07
@raitobezarius:matrix.orgraitobezariusbut also21:17:15
@raitobezarius:matrix.orgraitobezariusmaybe if ((level) <= nix::verbosity)21:17:19
@raitobezarius:matrix.orgraitobezariusidk21:17:20
@raitobezarius:matrix.orgraitobezariusmaybe 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 nix::verbosity is just extern Verbosity verbosity tho 21:18:14
@raitobezarius:matrix.orgraitobezariusit's fine21:18:28
@raitobezarius:matrix.orgraitobezarius 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.orgraitobezariusyes22:14:36
@raitobezarius:matrix.orgraitobezariusbut logger doesn't work at that point22:14:46
@raitobezarius:matrix.orgraitobezariusand I don't see what facilities do we have to initialize the logger22:14:52
@raitobezarius:matrix.orgraitobezariusand if we plan to reuse the Lix's logger22:14:58
@raitobezarius:matrix.orgraitobezariusthen 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
@emilazy:matrix.orgemily I rather suspect that linkage of undefined symbols is what is acting weird here and necessitating -flat_namespace 22:16:53

Show newer messages


Back to Room ListRoom Version: 10