xwayland: enable libunwind

This commit is contained in:
Kiskae 2023-02-13 18:27:53 +01:00 committed by GitHub
parent 3865c1767b
commit c73f3cf927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,11 +95,12 @@ stdenv.mkDerivation rec {
zlib
];
mesonFlags = [
"-Dxwayland_eglstream=true"
"-Ddefault_font_path=${defaultFontPath}"
"-Dxkb_bin_dir=${xkbcomp}/bin"
"-Dxkb_dir=${xkeyboard_config}/etc/X11/xkb"
"-Dxkb_output_dir=${placeholder "out"}/share/X11/xkb/compiled"
(lib.mesonBool "xwayland_eglstream" true)
(lib.mesonOption "default_font_path" defaultFontPath)
(lib.mesonOption "xkb_bin_dir" "${xkbcomp}/bin")
(lib.mesonOption "xkb_dir" "${xkeyboard_config}/etc/X11/xkb")
(lib.mesonOption "xkb_output_dir" "${placeholder "out"}/share/X11/xkb/compiled")
(lib.mesonBool "libunwind" (libunwind != null))
];
meta = with lib; {