fix(nix): replace wrapGAppsHook with wrapGAppsHook3#1189
fix(nix): replace wrapGAppsHook with wrapGAppsHook3#1189xarvex merged 1 commit intoTagStudioDev:mainfrom
Conversation
wrapGAppsHook has been aliased to wrapGAppsHook3 for a long time. Recently this alias was converted to a throw, breaking the build with newer nixpkgs versions.
|
I was about to open my own PR for this, guess someone beat me to it. I tested it on my machine and it seems to work without issue, so I got no gripes. |
|
just a thought: this change comes from nixpkgs!307077 which also mentions that |
|
I'm no expert on the subject by any stretch of the imagination, but from reading around it seems like it has something to do with the gnome file picker breaking down when called from a Qt app, causing the Qt app to crash. The hook does some magic to fix it, not sure on the details but there's really not much we can do about it. This would patch the file picker to not do that but it hasn't been touched for a few months now. Either way, since we don't use GTK ourselves, we should probably use |
|
Thanks very much for the fix @Ambossmann, I have been busy here with university, so I haven't had my eyes on this as much as I should have. Very interesting, I actually hadn't realized this was an alias.
This is more about how Qt hooks in to be platform “native” on different systems, in this case the hook takes care of the
Unfortunately, this does not suffice for dependency requirements, and the application will crash. |
Summary
Replaces all occurrences of wrapGAppsHook with wrapGAppsHook3.
wrapGAppsHook has been aliased to wrapGAppsHook3 for a long time (since NixOS/nixpkgs#307077). Recently (NixOS/nixpkgs#456065) this alias was converted to a throw, breaking the build with newer nixpkgs versions.
Tasks Completed