!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

195 Members
54 Servers

Load older messages


SenderMessageTime
28 Jun 2025
@mpardalos:matrix.orgMichalisHow would one go about packaging a (python) krunner plugin for nix? I'm trying to package this to use with home-manager https://github.com/mpardalos/KRunner-SSH. Is there any examples I can follow? 20:06:20
@mpardalos:matrix.orgMichalisWhat I tried so far is here: https://github.com/mpardalos/KRunner-SSH/tree/nix 20:13:46
@k900:0upti.meK900Yeah none of that is correct basically20:27:44
@k900:0upti.meK900You want to install to $out/share20:27:47
@k900:0upti.meK900And you want fully qualified paths everywhere20:27:54
@k900:0upti.meK900Nothing like $PWD20:28:04
@k900:0upti.meK900And you have external dependencies20:28:26
@k900:0upti.meK900So you want to treat this like a Python package20:28:30
@mpardalos:matrix.orgMichalis Makes sense 20:33:19
@mpardalos:matrix.orgMichalis
In reply to @k900:0upti.me
Yeah none of that is correct basically
Yeah thought so lol
20:33:37
@mpardalos:matrix.orgMichalisOnce I have that packaged up correctly, is there some standard way to install it, or do I manually place each of the files with home-manager?20:35:02
@k900:0upti.meK900 You just add it to home.packages 20:35:19
@mpardalos:matrix.orgMichalisOh, nice! I'll give that a go. Thanks!20:35:55
29 Jun 2025
@k900:0upti.meK900Random thought08:22:57
@k900:0upti.meK900What if we put qmllintHook back08:23:08
@k900:0upti.meK900And just handwrite type stubs for the libraries that are missing08:23:28
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
And just handwrite type stubs for the libraries that are missing
Is it a one day task or a month task?
10:17:31
@k900:0upti.meK900 That's the fun part 10:18:03
@k900:0upti.meK900 You have to find out 10:18:21
@k900:0upti.meK900 I guess you can find out by checking the source code of all the frameworks and such 10:18:33
@k900:0upti.meK900Hmm10:39:33
@k900:0upti.meK900I just checked and qmlplugindump kinda works now10:39:40
@k900:0upti.meK900That's cool10:39:41
@k900:0upti.meK900I guess it's time for qmlplugindumpHook10:41:41
@k900:0upti.meK900OK I may have reanimated qmllintHook11:45:29
@k900:0upti.meK900OK I have definitely reanimated qmllintHook12:12:52
@k900:0upti.meK900And it immediately caught issues lol12:13:01
@sandro:supersandro.deSandro 🐧I wanted to pack into that too and see if I can be a help there but didn't find time unfortunately13:14:09
@k900:0upti.meK900OK oof15:53:05
@k900:0upti.meK900Plasma does magic runtime type fuckery15:53:11

Show newer messages


Back to Room ListRoom Version: 9