pureref: force xcb mode for wayland (#430013)

This commit is contained in:
Aleksana
2025-08-01 23:11:12 +08:00
committed by GitHub
+4
View File
@@ -1,6 +1,7 @@
{
lib,
appimageTools,
makeWrapper,
runCommand,
curl,
gnugrep,
@@ -32,11 +33,14 @@ appimageTools.wrapType1 {
pname = "pureref";
inherit version;
nativeBuildInputs = [ makeWrapper ];
src = "${deb}/usr/bin/PureRef";
extraInstallCommands = ''
mv $out/bin/pureref $out/bin/PureRef
cp -r ${deb}/usr/share $out
wrapProgram $out/bin/PureRef --set QT_QPA_PLATFORM xcb
'';
meta = with lib; {