From 2db7f29de5ec87c2fb0f586533f5d8e6991b6029 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Thu, 12 Jun 2025 22:36:42 +0200 Subject: [PATCH] pob: make sure it runs with the proper QT_QPA_PLATFORM --- overlays/pathofbuilding/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/overlays/pathofbuilding/default.nix b/overlays/pathofbuilding/default.nix index b738b0f..9c49349 100644 --- a/overlays/pathofbuilding/default.nix +++ b/overlays/pathofbuilding/default.nix @@ -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 + ''; + }); +}