ovito: add wrapGAppsHook3 to nativeBuildInputs#507382
Conversation
a84523b to
9c2c560
Compare
|
Thanks @ginsanches. This looks pretty good to me with @chillcicada suggestion for the recommend way to handle double wrapped apps. I guess the one outstanding question would be the very recent work in #507455 that would appear to make this not required any more. @ilkecan, what are you thought on this. Do you think we should hold back on this one as #507455 is likely to be merged in the very near future, or would it make sense to go ahead with this for now and then undo it later once/if #507455 is merged (where it was suggested that such a follow up should take place after merger)? Thanks! |
I don't know what is the procedure to merge something like #507455 and how long it would take, or how long it takes for So my personal opinion would be: #507455 shouldn't block this or similar PRs, if they can deliver fixes to the users quicker; it should be relatively easy to track down these commits/PRs to revert in the future when the time comes. |
twhitehead
left a comment
There was a problem hiding this comment.
@ginsanches I am good to approve this if you can incorporate @chillcicada's suggestion. Thanks!
twhitehead
left a comment
There was a problem hiding this comment.
This all looks good to me now. Thanks very much @ginsanches and @chillcicada! 👍
chillcicada
left a comment
There was a problem hiding this comment.
lgtm, can you squash the commits
so that attempting to export a report (as well as presumably any other action requiring a file chooser dialog) will work again also on GNOME, rather than crashing with (kmymoney:26393): GLib-GIO-ERROR **: 16:18:43.780: Settings schema ‘org.gtk.Settings.FileChooser’ is not installed This change was authored following the example of NixOS#507382 as of 1e50738, though with the addition of TODO comments to remind me to revert this once the underlying problem has been solved globally in nixpkgs.
Added wrapGAppsHook3 to the native build inputs. This is necessary to add the required gsettings schemas for gtk3 to the XDG_DATA_DIRS environment variable. The program otherwise crashes when trying to access the file chooser on Gnome with the error that org.gtk.Settings.FileChooser is not installed.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.