NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.55k forks source link

redis-desktop-manager Qt packaging isn't working #156506

Open Tchekda opened 2 years ago

Tchekda commented 2 years ago

Describe the bug

When running the command rdm from the redis-desktop-manager package, I am getting this 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.

fish: Job 1, 'rdm' terminated by signal SIGSEGV (Address boundary error)

Possible solution

Fix the package build process to correctly wrap the app

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install or Nix-shell redis-desktop-manager
  2. Run rdm

Expected behavior

Open the GUI

Notify maintainers

@cstrahan

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.11, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e`
 - channels(tchekda): `"home-manager-21.11, nixos-21.11.334139.1bd4bbd49be, unstable-22.05pre337269.33582b3ee1d"`
 - channels(root): `"nixos-hardware, nixos-21.11.334934.8a053bc2255, home-manager-21.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
rbozan commented 2 years ago

are there any alternative software for the time being, that achieve the same as redis-desktop-manager?

Tchekda commented 2 years ago

are there any alternative software for the time being, that achieve the same as redis-desktop-manager?

I didn't find any alternative GUI for redis directly available in nixpkgs. But I quickly wrapped a known CLI to have at least 1 tools to operate redis : https://github.com/NixOS/nixpkgs/pull/156740