diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2021-07-03 15:45:54 +0200 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2021-07-03 15:48:10 +0200 |
commit | 0b93eb68a2733e5b5ac299cd3753912b0166f3b4 (patch) | |
tree | 2a0df17059f14e7121151fe911b3f96eb405d305 /pkgs/servers | |
parent | b333bf83d34ba67fb3bb178c73a2967ebba4bc08 (diff) |
xwayland: support cross-compilation
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/x11/xorg/xwayland.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/servers/x11/xorg/xwayland.nix b/pkgs/servers/x11/xorg/xwayland.nix index 46d7ebfd85a28..c16391a3c504b 100644 --- a/pkgs/servers/x11/xorg/xwayland.nix +++ b/pkgs/servers/x11/xorg/xwayland.nix @@ -32,6 +32,7 @@ , stdenv , wayland , wayland-protocols +, wayland-scanner , xkbcomp , xkeyboard_config , xorgproto @@ -47,7 +48,16 @@ stdenv.mkDerivation rec { url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz"; sha256 = "sha256-MfJhzlG77namyj7AKqNn/6K176K5hBLfV8zv16GQA84="; }; - nativeBuildInputs = [ pkg-config meson ninja ]; + + depsBuildBuild = [ + pkg-config + ]; + nativeBuildInputs = [ + pkg-config + meson + ninja + wayland-scanner + ]; buildInputs = [ egl-wayland epoxy |