!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

415 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
@raitobezarius:matrix.orgraitobezariusi get the proper handle to _nix_plugin_entry21:15:02
@jade_:matrix.orgjade_then you shouldn't need the static initializer right?21:15:02
@raitobezarius:matrix.orgraitobezariuswhat init sequence do we offer for plugin?21:15:19
@raitobezarius:matrix.orgraitobezariushow do I init the logger?21:15:23
@jade_:matrix.orgjade_ you shouldn't need to? you use the one from nix::logger 21:15:39
@jade_:matrix.orgjade_and let the rest of the nix deal wtih it21:15:46
@raitobezarius:matrix.orgraitobezariusok, it's busted21:15:48
@raitobezarius:matrix.orgraitobezariususing Nix's logger doesn't work21:15:58
@jade_:matrix.orgjade_O_o21:16:01
@raitobezarius:matrix.orgraitobezarius 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.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

Show newer messages


Back to Room ListRoom Version: 10