Skip to content

Commit

Permalink
add wayland support
Browse files Browse the repository at this point in the history
Signed-off-by: skykanin <3789764+skykanin@users.noreply.github.com>
  • Loading branch information
skykanin committed Apr 2, 2024
1 parent ffcb0c3 commit f4e00de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
, extraJDKs ? [ ]
, extra-cmake-modules
, qtcharts
, qtwayland
, wayland
# flake
, self
, version
Expand All @@ -36,6 +38,7 @@ let
libXxf86vm
libpulseaudio
libGL
wayland
];

# This variable will be passed to Minecraft by PolyMC
Expand All @@ -51,7 +54,7 @@ stdenv.mkDerivation rec {
src = lib.cleanSource self;

nativeBuildInputs = [ cmake extra-cmake-modules ninja jdk ghc_filesystem file wrapQtAppsHook ];
buildInputs = [ qtbase quazip zlib qtcharts ];
buildInputs = [ qtbase quazip zlib qtcharts qtwayland ];

dontWrapQtApps = true;

Expand Down

0 comments on commit f4e00de

Please sign in to comment.