| 28 Jun 2025 |
| Michalis joined the room. | 19:50:19 |
Michalis | How 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 |
Michalis | What I tried so far is here: https://github.com/mpardalos/KRunner-SSH/tree/nix | 20:13:46 |
K900 | Yeah none of that is correct basically | 20:27:44 |
K900 | You want to install to $out/share | 20:27:47 |
K900 | And you want fully qualified paths everywhere | 20:27:54 |
K900 | Nothing like $PWD | 20:28:04 |
K900 | And you have external dependencies | 20:28:26 |
K900 | So you want to treat this like a Python package | 20:28:30 |
Michalis | Makes sense | 20:33:19 |
Michalis | In reply to @k900:0upti.me Yeah none of that is correct basically Yeah thought so lol | 20:33:37 |
Michalis | Once 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 | You just add it to home.packages | 20:35:19 |
Michalis | Oh, nice! I'll give that a go. Thanks! | 20:35:55 |
| 29 Jun 2025 |
K900 | Random thought | 08:22:57 |
K900 | What if we put qmllintHook back | 08:23:08 |
K900 | And just handwrite type stubs for the libraries that are missing | 08:23:28 |
Sandro 🐧 | 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 | That's the fun part | 10:18:03 |
K900 | You have to find out | 10:18:21 |
K900 | I guess you can find out by checking the source code of all the frameworks and such | 10:18:33 |
K900 | Hmm | 10:39:33 |
K900 | I just checked and qmlplugindump kinda works now | 10:39:40 |
K900 | That's cool | 10:39:41 |
K900 | I guess it's time for qmlplugindumpHook | 10:41:41 |
K900 | OK I may have reanimated qmllintHook | 11:45:29 |
K900 | OK I have definitely reanimated qmllintHook | 12:12:52 |
K900 | And it immediately caught issues lol | 12:13:01 |
Sandro 🐧 | I wanted to pack into that too and see if I can be a help there but didn't find time unfortunately | 13:14:09 |
K900 | OK oof | 15:53:05 |