Unverified Commit c4cdf325 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

pureref: force xcb mode for wayland (#430013)

parents 08628701 f8a5b255
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{
  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; {