I’m working on making a derivation for polydock. I’ve sucessfully got a working build using pnpm2nix - however I end up with an error when trying to run the produced binary.
(gjs:53948): Gjs-CRITICAL **: 18:47:54.412: JS ERROR: Error: Requiring GdkX11, version 3.0: Typelib file for namespace 'GdkX11', version '3.0' not found
@/nix/store/bdzsb8g4115j2dxy4b9abldbjrf5jmll-polydock-master-2023-10-06/bin/.polydock-wrapped:749:1
I’m not sure I’ve packaged a GTK based app before, so I’m not too sure what to do. I have what I thought were the relevant libraries in buildInputs. I tried using wrapGAppsHook, but it doesn’t seem to work. I Imagine it’s something simple that I just don’t know at the moment.
(Also - if anyone happens to know why the CI has failed then I’d appreciate knowing. Building on my own system is fine. I’ll post separately if I get a fully working package first though!)
My current derivation is here:
Thanks for any help in advance!