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;