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