-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
olive-editor: use wrapQtAppsHook #89345
Conversation
Fails to launch on Ubuntu 18.04. Had similar troubles with other GTK apps on Ubuntu before, so take with a grain of salt. [nix-shell:~/.cache/nixpkgs-review/pr-89345]$ olive-editor
(process:980): Gtk-WARNING **: 09:45:56.615: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: 09:45:56.812: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:45:56.812: Failed to load module "canberra-gtk-module"
2020-06-02T09:45:56 [WARNING] qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
2020-06-02T09:45:56 [WARNING] qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
2020-06-02T09:45:56 [FATAL] Could not initialize GLX
Aborted (core dumped) |
Related to #85866? |
Also #66755 #82959 #85921 |
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.
- Diff LGTM.
- Builds fine.
- Running fails on my machine due to issues with Nix + Ubuntu graphics, but contributor said works locally.
Result of 1 package built:- olive-editor |
Works just fine for me now, thanks! |
Tracking Issue: #65399
Motivation for this change
Olive editor complains about missing qt package and will not start (Wayland/SwayWM)
Things done
Added wrapQtAppsHook at the top of file and in mkDerivation
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)