Hi there,
I have just moved from Arch to NixOS… still getting used to some things, but I got it pretty much setup so far. There are just two problems I have run into.
The first one is the Vivaldi browser. It is not working and crashes with the following error:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
[0210/082217.812709:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0210/082217.812946:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0210/082217.814426:ERROR:process_memory_range.cc(75)] read out of range
Aborted (core dumped)
I noticed in the wiki, that there is an issue with the current build and it suggests that adding
(vivaldi.overrideAttrs
(oldAttrs: {
dontWrapQtApps = false;
dontPatchELF = true;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook];
}))
should fix it… so my config looks like this:
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
htop
gparted
brave
vivaldi
(vivaldi.overrideAttrs
(oldAttrs: {
dontWrapQtApps = false;
dontPatchELF = true;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook];
}))
lutris
heroic
];
I am not sure, if I applied this correctly, but it does not seem to work. Vivaldi is not launching.
In addition, I got another issue. When I try to install KDE AudioTube, I get the following error:
CMake Error at CMakeLists.txt:52 (message):
QtMultimedia gstreamer backend not found. AudioTube only works with the
gstreamer backend.
I have installed gstreamer plugins, but apparently I am unable to find the right one…
Any help would be appreciated.
Cheers