I am trying to patch wireshark and while in nix-shell -A wireshark, after a cmakeConfigurePhase && buildPhase, trying to run the built binary fails with:
(ins)❯ ./run/wireshark
23:28:42.652 Main Warn Could not find the Qt platform plugin "xcb" in ""
Aborted (core dumped)
If I take a look at my system wireshark head /etc/profiles/per-user/teto/bin/wireshark, it exports stuff like
Describe the bug
I am trying to patch wireshark and while in
nix-shell -A wireshark
, after acmakeConfigurePhase && buildPhase
, trying to run the built binary fails with:If I take a look at my system wireshark
head /etc/profiles/per-user/teto/bin/wireshark
, it exports stuff likeIf I export these in my nix-shell then the error disappears.
I wonder if the qt hooks could automatically prefill the shellHook too ?