-
-
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
quassel: use wrapQtAppsHook for the client #66550
Conversation
Since we are calling it with |
@peterhoeg Does the core actually need wrapping...? I'll go find out, I guess. |
@@ -4,7 +4,7 @@ | |||
, tag ? "-kf5" # tag added to the package name | |||
, static ? false # link statically | |||
|
|||
, stdenv, fetchFromGitHub, cmake, makeWrapper, dconf | |||
, stdenv, fetchFromGitHub, cmake, makeWrapper, dconf, wrapQtAppsHook |
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.
Because the dependency on Qt is unconditional, it is preferred to import mkDerivation
and use that below instead of stdenv.mkDerivation
.
I'm pretty sure you should wrap the core as well. |
@ttuegel @worldofpeace I tested, quasselcore runs fine without wrapping. It does still use Qt, but it appears that all its Qt dependencies are compile-time -- there's apparently no run-time dependency on any plugins, and obviously not on any style engines or other GUI components. |
IIRC, it doesn't link |
Oh, dang, I didn't think of searching before writing a fix... #67746 solves the issue by using Though, I guess this becomes an issue with |
Doesn't that mean |
I guess it's possible, then switching which |
@samueldr That seems a lot less clear as to what it is actually doing, though, because the difference between Actually, I guess that's more of an issue with the 'use a custom deriver' approach in general. |
#67746 superseded this. |
OK. I am feeling a little disappointed at the course of events here. I do not think that both PRs should have remained open; I believe that ideally either @samueldr should have closed theirs, or they or another maintainer should have asked me to close this one, in order to to ensure that further discussion and work continued in a single place rather than being confusingly fragmented. |
Indeed it did get a little messy. |
Motivation for this change
#65399
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 @Phreedom @ttuegel