Wavebox crashes on open file dialog

Hi there,

I have a problem with the latest Wavebox series (10.x) where when I open a file dialog it crashes.

this is the error:

(wavebox:8480): GLib-GIO-ERROR **: 11:42:36.726: No GSettings schemas are installed on the system
[1]    8480 trace trap (core dumped)  wavebox

I have been using the latest Wavebox (10.x) with the blob below,

{ alsaLib, autoPatchelfHook, fetchurl, gtk3, libnotify
, makeDesktopItem, makeWrapper, nss, stdenv, udev, xdg_utils
, xorg
}:


with stdenv.lib;

let
  bits = "x86_64";

  version = "10.0.378-2";

  desktopItem = makeDesktopItem rec {
    name = "Wavebox";
    exec = "wavebox";
    icon = "wavebox";
    desktopName = name;
    genericName = name;
    categories = "Network;";
  };

  tarball = "Wavebox_${replaceStrings ["."] ["_"] (toString version)}_linux_${bits}.tar.gz";

in stdenv.mkDerivation {
  pname = "wavebox";
  inherit version;
  src = fetchurl {
    url = "https://download.wavebox.app/stable/linux/tar/Wavebox_${version}.tar.gz";
    sha256 = "1bzs6ks02lwggi5j0rj8bcqlrf5zk4pxx8539gx7q23kgw086qrg";
  };

  # don't remove runtime deps
  dontPatchELF = true;

  nativeBuildInputs = [ autoPatchelfHook makeWrapper ];

  buildInputs = with xorg; [
    libXdmcp libXScrnSaver libXtst
  ] ++ [
    alsaLib gtk3 nss
  ];

  runtimeDependencies = [
    (getLib udev)
    libnotify
];

  installPhase = ''
    mkdir -p $out/bin $out/opt/wavebox
    cp -r * $out/opt/wavebox

    # provide desktop item and icon
    mkdir -p $out/share/applications $out/share/pixmaps
    ln -s ${desktopItem}/share/applications/* $out/share/applications
    ln -s $out/opt/wavebox/Wavebox-linux-x64/wavebox_icon.png $out/share/pixmaps/wavebox.png
  '';

  postFixup = ''
    makeWrapper $out/opt/wavebox/wavebox $out/bin/wavebox \
      --prefix PATH : ${xdg_utils}/bin
  '';

  meta = with stdenv.lib; {
    description = "Wavebox messaging application";
    homepage = "https://wavebox.io";
    license = licenses.mpl20;
    maintainers = with maintainers; [ rawkode ];
    platforms = ["x86_64-linux"];
    hydraPlatforms = [];
  };
}

I tried to add the gsettings-desktop-schemas but no joy,
anyone out there using wavebox?

this maybe related.

1 Like

that was it

oddly, for me the only app that suffers from this is Wavebox, chrome and friends all work fine.

thanks a gazillion, nixinator, keep on inatoring nix things!

  • azul