-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing Plover deps #71335
Add missing Plover deps #71335
Conversation
Without this, it crashes instantly at startup looking for pkg_resources.
|
After looking at openshot-qt, I have some success with KoviRobi@a41f4a7 but the program seems to be double wrapped, perhaps it's worth looking at rapid-photo-downloader? Also #65399 seems relevant |
Also, and this is my mistake with 5a06658 but we should probably use buildPythonApplication not buildPythonPackage. Not sure if it should be a different PR or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KoviRobi Is correct in that you need to use KoviRobi@a41f4a7. The issue was wrapQtAppsHook
wasn't added, and mkDerivationWith
will add this automatically to nativeBuildInputs
.
Also correct in that, we should be using buildPythonApplication
and not buildPythonPackage
. Unless it really is being used as a python module.
Lastly, we have pinned python version's here (specifically python36Packages
).
Is this strictly needed? Or can we use python2Packages
&&
python3Packages
.
Without this, it crashes instantly at startup looking for the Qt xcb plugin. Co-authored-by: Kovacsics Robert <rmk35@cam.ac.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though I'm not sure if it's my setup but I cannot start it (dev version)
DisplayConnectionError: Can't connect to display ":0": No protocol specified
Gnome 3 x11
I wrote a little Perl script to check if there were any environment variables that affected it. I could reproduce this by running it with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't reproduce aforementioned issue in a vm.
I believe my system's Xauthority is broken somewhat.
Motivation for this change
This fixes plover.dev crashing at startup due to missing
pkg_resources
andqtbase
, and adds the optionaldbus-python
dependency to plover.stable.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @Twey @KoviRobi