pob: make sure it runs with the proper QT_QPA_PLATFORM

This commit is contained in:
Christoph Hollizeck 2025-06-12 22:36:42 +02:00
parent 89dc2a7e3b
commit 2db7f29de5
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -1,3 +1,8 @@
{ channels, ... }:
final: prev: { inherit (channels.nixpkgs-unstable) pobfrontend; }
{ ... }:
final: prev: {
path-of-building = prev.path-of-building.overrideAttrs (prevAttrs: {
postInstall = ''
wrapProgram $out/bin/pobfrontend --set QT_QPA_PLATFORM xcb
'';
});
}