From 55384e0ceda36f7137203607179fc9b4ff85827f Mon Sep 17 00:00:00 2001 From: LordGrimmauld Date: Sat, 9 Mar 2024 18:22:11 +0100 Subject: [PATCH] drop qt wrapper as that seems to mess with app_id --- nix/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index f339040..ab17e06 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -2,16 +2,12 @@ lib, nlohmann_json, cmake, - gcc12Stdenv, qt6, qtbase, - wrapQtAppsHook, qtwayland, - icu, - libgcc, - libcxx + stdenv }: -gcc12Stdenv.mkDerivation { +stdenv.mkDerivation { pname = "swaymux"; version = "0.1"; @@ -30,8 +26,9 @@ gcc12Stdenv.mkDerivation { mv swaymux $out/bin ''; - buildInputs = [ icu qtbase qt6.qtwayland cmake nlohmann_json libgcc libcxx ]; - nativeBuildInputs = [ wrapQtAppsHook qt6.qtwayland ]; + dontWrapQtApps = true; + buildInputs = [ qt6.qtwayland cmake nlohmann_json qtbase]; + nativeBuildInputs = [ ]; doCheck = true;