pureref: force xcb mode for wayland

pureref doesn't ship with a wayland backend and throws and error trying
to launch, this allows it to use XWayland in such situations.

+4
+4
pkgs/by-name/pu/pureref/package.nix
··· 1 1 { 2 2 lib, 3 3 appimageTools, 4 + makeWrapper, 4 5 runCommand, 5 6 curl, 6 7 gnugrep, ··· 32 33 pname = "pureref"; 33 34 inherit version; 34 35 36 + nativeBuildInputs = [ makeWrapper ]; 37 + 35 38 src = "${deb}/usr/bin/PureRef"; 36 39 37 40 extraInstallCommands = '' 38 41 mv $out/bin/pureref $out/bin/PureRef 39 42 cp -r ${deb}/usr/share $out 43 + wrapProgram $out/bin/PureRef --set QT_QPA_PLATFORM xcb 40 44 ''; 41 45 42 46 meta = with lib; {